Replies: 3 comments 2 replies
|
The TLS SNI extension is required by a lot of TLS 1.2+ servers, so removing the call to |
|
Unfortunately, that doesn’t work. In my case, an error is already raised after SSL_connect. VerifyPeer isn’t even called. |
|
In my test I forgot to set After Thttp.post call:
If I skip the call to |
Uh oh!
There was an error while loading. Please reload this page.
I have a problem with calling the OpenSSL function SSL_set_tlsext_host_name in the unit IdSSLOpenSSL.pas. I want to connect to a server that I host, which has a self-signed certificate. The names in the certificate are not all correctly specified for the names the server can have. This results in an SSL handshake error during the connection setup.
When I comment out the line that calls
SSL_set_tlsext_host_name(fSSL, fHostName), it works with my server.How can I best solve this issue so that the invocation of the parameter can be controlled explicitly?
All reactions