I am trying connect "HTTPS" server using Boost dlls. But when I send a request to the server it always returns "handshake: An existing connection was forcibly closed by the remote host" error. Please help me if anybody tried this. my code snippet is as below -
I have not used Boost Library to make HTTPS calls, but used i think openssl in a CS5 plugin and it did work just fine. Looking at the error that you get it seems something that the server logs might help. Maybe the version of SSL protocol/ cipher mismatch be the culprit. Looking at the server is the first thing i would do if i have access to it, or else try with another server.
I was able to fixed above issue with the openssl libs. But now, after upgrading server with latest configuration I'm again facing same handshake issue while log-in. Before it was working with the SSL protocol, but now it doesn't work with the TLS protocol. Do I need to handle/change the code for TLS protocol?
Please let me know if you require any information from side.