-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Description
Hi, I'm trying to setup HTTPs using axum-crate in torrust/torrust-index#584
I think I have done the same as you do in the example: https://github.com/programatik29/axum-server/blob/master/examples/from_std_listener_rustls.rs
However, I'm getting this error:
curl -vi https://localhost:3000/v1/about
* Trying 127.0.0.1:3000...
* Connected to localhost (127.0.0.1) port 3000 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* OpenSSL/3.0.8: error:0A00010B:SSL routines::wrong version number
* Closing connection 0
curl: (35) OpenSSL/3.0.8: error:0A00010B:SSL routines::wrong version number
I have generated the certificate as described in https://letsencrypt.org/docs/certificates-for-localhost/. I've also tried using the ones in the example (in this repo).
Metadata
Metadata
Assignees
Labels
No labels