Boost logo

Boost Users :

Subject: [Boost-users] Asio SSL verify peer
From: Lloyd (lloydkl.tech_at_[hidden])
Date: 2011-06-10 01:02:47


Hi,

Checking asio::ssl sample, the client side code contains a way to
verify the server certificate as

ctx.set_verify_mode(boost::asio::ssl::context::verify_peer);
ctx.load_verify_file("ca.pem");

What parameters are checked by this function? Is it possible to check
the parameters in certificate file manually?

(I have gone through openssl manual, it seems openssl has functions for that)

And also how can I do a client authentication using SSL?

Thanks a lot,
  Lloyd


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net