Hello I'm trying to connect to a server:
argv[1] = "demo.demo.com"; // or httpbin.com
argv[2] = "39473"; // or 80
With this similar code:
http://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/example/ssl/client.cpp
The problem I am getting is this:
Handshake failed: certificate verify failed
I have tried this:
boost::asio::ssl::context ctx(boost::asio::ssl::context::sslv23);
ctx.set_verify_mode(boost::asio::ssl::verify_none);
//ctx.set_default_verify_paths();
Is there a way to just connect without verifying certificate.