c++ - TLS server authentication -


i'm trying server authentication @ client, using boost c++ client program created rootca , client certificate , put certificate in 1 dir, , accessing certificate below getting "no certificate retured" error while handshake.

 boost::system::error_code ec;  context.set_verify_mode(boost::asio::ssl::verify_peer);  context.add_verify_path("/etc/ipa/nssdb/rootca", ec);  std::cout<<"add_verify_path error : "<< ec <<std::endl;  context.load_verify_file("/etc/ipa/nssdb/ca-chain.cert.pem", ec);  std::cout<<"load_verify_file error : "<< ec <<std::endl; 

i missing or doing wrong during certificate loading.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -