Boost.ASIO SSL Version?
What version of OpenSSL does Boost.ASIO use? And may I suggest to consider upgrading to the latest version if that hasn't been done already (if it's not too much trouble)? I tried to use version 3.0.1 (LibreSSL 3.4 is already out but according to openssl.org, their official latest version is 3.0.1? I'm not sure.) with this project of mine: https://github.com/DragonOsman/currency_converter and got these errors: " 1>C:\local\boost_1_78_0\boost\asio\ssl\impl\error.ipp(43,28): error C4996: 'ERR_func_error_string': Since OpenSSL 3.0 1>C:\local\boost_1_78_0\boost\asio\ssl\impl\context.ipp(54,29): error C4996: 'RSA_free': Since OpenSSL 3.0 1>C:\local\boost_1_78_0\boost\asio\ssl\impl\context.ipp(60,28): error C4996: 'DH_free': Since OpenSSL 3.0 1>C:\local\boost_1_78_0\boost\asio\ssl\impl\context.ipp(962,29): error C4996: 'd2i_RSAPrivateKey_bio': Since OpenSSL 3.0 1>C:\local\boost_1_78_0\boost\asio\ssl\impl\context.ipp(965,29): error C4996: 'PEM_read_bio_RSAPrivateKey': Since OpenSSL 3.0 1>C:\local\boost_1_78_0\boost\asio\ssl\impl\context.ipp(978,13): error C4996: 'SSL_CTX_use_RSAPrivateKey': Since OpenSSL 3.0 1>C:\local\boost_1_78_0\boost\asio\ssl\impl\context.ipp(1056,9): error C4996: 'SSL_CTX_use_RSAPrivateKey_file': Since OpenSSL 3.0 1>C:\local\boost_1_78_0\boost\asio\ssl\impl\context.ipp(1122,23): error C4996: 'PEM_read_bio_DHparams': Since OpenSSL 3.0 " Or should I stick to version 1.1.1m? Thanks for any replies.
@Vinnie Falcomailto:vinnie.falco@gmail.com Thanks. Now it builds successfully, but I have this output in the server app console: " Starting server at 0.0.0.0:5501... Lines 625 and 626: handshake: Lines 625 and 626: handshake: An existing connection was forcibly closed by the remote host An existing connection was forcibly closed by the remote hostLines 646 and 647: read: An existing connection was forcibly closed by the remote host Lines 646 and 647: read: An existing connection was forcibly closed by the remote host Lines 625 and 626: handshake: Lines 625 and 626: handshake: An existing connection was forcibly closed by the remote host An existing connection was forcibly closed by the remote host Lines 646 and 647: read: Lines 646 and 647: read: An existing connection was forcibly closed by the remote host An existing connection was forcibly closed by the remote host " I've been having this problem since before I tried to move the app to C++20. I tried taking it out of Firewall exceptions and adding it back in because I read somewhere that that could help in some cases, but no luck. Then I thought maybe upgrading to the latest version of Boost and OpenSSL will help, so I tried that too, but again no luck. My port forwarding has no issues either, and I've also renewed my SSL certs. So what could the problem be? Anyone got any ideas? If this isn't an issue I should ask about here, where would be better? Some networking forum or something?
participants (2)
-
Osman Zakir
-
Vinnie Falco