You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 10.1, client type is http::basic_client<http::tags::http_default_8bit_tcp_resolve, 1, 1>
after setting root certicates for validation with client::options::openssl_certificate(), and connect to a self-signed HTTPS server, one would expect the connection fails, which is NOT the case.
Work around: In sync_ssl.hpp, at line 33, just after context_.set_verify_mode..., if we insert a line: socket_.set_verify_mode(boost::asio::ssl::context::verify_peer);
just then it will reject as expected.