Boost logo

Boost Users :

Subject: [Boost-users] asio ssl peer authentication, check which certificate is really authenticated
From: Lloyd (lloydkl.tech_at_[hidden])
Date: 2011-06-15 05:13:16


I have gone through the asio ssl client and server sample and
modified. The modification I have done is, added one more certificate
to the client by using "ctx.load_verify_file("another_cert.pem");" Now
I have two server certificates loaded for server authentication. These
are self signed certificate. But in client is there any way to know
which server is authenticated?

In real case we will be using this for client-authentication, to know
what kind of client is connected to the server. We have two types of
client, and one client has only restricted privileges.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at