I made a self-signed certificate.
% Started server at https://localhost:9090/
I see that the server is starting but curl return
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
how can i use certificates letsencrypt ?
I made a self-signed certificate.
% Started server at https://localhost:9090/
I see that the server is starting but curl return
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
how can i use certificates letsencrypt ?
the server uses the https protocol but continues to report on this port via http, how to start https correctly?
telnet localhost 9090
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /
HTTP/1.1 200 OK
Date: Thu, 20 Jul 2023 04:57:59 GMT
Content-Type: text/plain; charset=UTF-8
Connection: close
Content-Length: 13
Hello World!
Connection closed by foreign host.
:- use_module(library(ssl)).
:- use_module(library(http/http_ssl_plugin)).
adding libraries solved my problem