We are trying to connect to our server using boost asio and getting the error "handshake: sslv3 alert handshake failure". We have tried changing the ssl type, setting verify peer to none and a few other things with no success. The pem file we are using originated as a p12 file that we used openssl to output to a pem file for use in this project. Within the pem file there is both an encrypted private key and certificate. I have searched stackoverflow of a solution but the only similar thing that came up was openssl not being installed correctly which doesn't appear to be the problem in this case. Is there something I'm missing in my call back as I'm not passing a purpose or length, although I cannot find appropriate values to pass as purpose in the boost docs.