Amila Perera
2015-08-21 13:04:41 UTC
Hi all,
Currently I'm implementing a SSL server where I am interested to hook the
handshake request from a client rather than completing it i.e. I want to do
my own process whenever a handshake request comes and then send client the
server certificate.
The callback provided to async_handshake() gets executed whenever the
handshake with the client is completed which completes the sending of
server certificate as well. Is there any way that we can setup a hook that
gets executed whenever a handshake request comes? If not possible with
boost::asio::ssl, can we accomplish it with native SSL api?
Thank you in advance.
Currently I'm implementing a SSL server where I am interested to hook the
handshake request from a client rather than completing it i.e. I want to do
my own process whenever a handshake request comes and then send client the
server certificate.
The callback provided to async_handshake() gets executed whenever the
handshake with the client is completed which completes the sending of
server certificate as well. Is there any way that we can setup a hook that
gets executed whenever a handshake request comes? If not possible with
boost::asio::ssl, can we accomplish it with native SSL api?
Thank you in advance.
--
*Amila Perera.*
*Amila Perera.*