Issue
I receive the following error, when attempting ssl with my server, using libcurl 7.70.0 Full log:
- Trying ::1:443...
- Trying 127.0.0.1:443...
- Connected to localhost (127.0.0.1) port 443 (#0)
- ALPN, offering h2
- ALPN, offering http/1.1
- successfully set certificate verify locations:
- CAfile: ../../certs.pem CApath: none
- TLSv1.3 (OUT), TLS handshake, Client hello (1):
- TLSv1.3 (IN), TLS handshake, Server hello (2):
- TLSv1.0 (IN), TLS handshake, Certificate (11):
- TLSv1.0 (IN), TLS handshake, Server key exchange (12):
- TLSv1.0 (IN), TLS handshake, Request CERT (13):
- TLSv1.0 (IN), TLS handshake, Server finished (14):
- TLSv1.0 (OUT), TLS handshake, Certificate (11):
- TLSv1.0 (OUT), TLS handshake, Client key exchange (16):
- TLSv1.0 (OUT), TLS handshake, CERT verify (15):
- TLSv1.0 (OUT), TLS change cipher, Change cipher spec (1):
- TLSv1.0 (OUT), TLS handshake, Finished (20):
- TLSv1.0 (IN), TLS alert, illegal parameter (559):
- error:14094417:SSL routines:ssl3_read_bytes:sslv3 alert illegal parameter
- Closing connection 0
Any ideas, what can cause the issue?
Solution
Problem was that I was using a certificate not trusted by the server.
Answered By - Vince