I'm trying get certify working for a Async SSL Client (I have to use Async because I need to set a timeout). The stream is declared as:
beast::ssl_streambeast::tcp_stream stream_;
I don't find the matching function for setting host name and sni:
boost::certify::set_server_hostname(beast::get_lowest_layer(stream_).socket(), host);
boost::certify::sni_hostname(beast::get_lowest_layer(stream_), host);
Does certify work in async mode?
Edit: Sorry, the title should read Async SSL instead.
I'm trying get certify working for a Async SSL Client (I have to use Async because I need to set a timeout). The stream is declared as:
beast::ssl_streambeast::tcp_stream stream_;
I don't find the matching function for setting host name and sni:
Does certify work in async mode?
Edit: Sorry, the title should read Async SSL instead.