Vishnu Aggarwal

Results 2 issues of Vishnu Aggarwal

Hi How can avoid the SSL Pinning in this ? Fool the domain name using hosts file where the server runs.

We get an error in Server(const std::string& cert_file, const std::string& private_key_file, const std::string& verify_file=std::string()): ServerBase::ServerBase(443), context(boost::asio::ssl::context::tlsv12) { context.use_certificate_chain_file(cert_file); context.use_private_key_file(private_key_file, boost::asio::ssl::context::pem); if(verify_file.size()>0) { context.load_verify_file(verify_file); context.set_verify_mode(boost::asio::ssl::verify_peer | boost::asio::ssl::verify_fail_if_no_peer_cert | boost::asio::ssl::verify_client_once); set_session_id_context=true; }...