Reputation: 49
I'm trying to submit JSON via post on a given URL, but i keep getting the error:
'Error connecting with SSL. error:1409442E:SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol version'.
I'm using the property SSLVersions to specify the version (sslvTLSv1_2) and i checked manually using Firefox certificate viewer to confirm the version was correct. I also updated OpenSSL with the latest version using their installer as recommended on Delphi's help.
Besides the version, i barely touched any other property from both TIdSSLIOHandlerSocketOpenSSL and TIdHTTP.
I'm trying on Delphi 10.2 Tokyo using Indy built-in basic authentication as a custom header
Are there any other properties i should change or look into in order to succesfully post?
Thank you!
Upvotes: 1
Views: 2908
Reputation: 49
As Dave pointed out in comments, I was using the newest version of OpenSSL 1.1.x, which isn't supported by Indy. I downgraded to 1.0.2o, and everything worked out!
Upvotes: 3