|
Boost : |
From: JH (jupiter.hce_at_[hidden])
Date: 2019-10-09 10:40:27
Hi,
I've been running boost asio socket and sslv2 for many months, it
works very well:
server.cpp
ontext_(boost::asio::ssl::context::sslv23)
context_.set_options(boost::asio::ssl::context::default_workarounds |
boost::asio::ssl::context::no_sslv2 |
boost::asio::ssl::context::single_dh_use);
context_.set_password_callback(boost::bind(&Server::get_password, this));
context_.use_certificate_chain_file("ssl/server.pem");
context_.use_private_key_file("ssl/server.pem", boost::asio::ssl::context::pem);
context_.use_tmp_dh_file("ssl/dh2048.pem");
on client.cpp
boost::asio::ssl::context context(boost::asio::ssl::context::sslv23);
Recently we changed a nodejs server nodejs which using sslv3, the
client failed to connect to server sslv3:
Failed handshake: sslv3 alert handshake failure
Any tips how to fix sslv3 handshake failure?
Thank you.
Kind regards,
- jh
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk