in reply to IO::SOCKET::SSL rest client requires client certificate can do it with curl but not in perl

The SSL connectin is fine , but the cert is no accepted , not used ?

If you look closely, you will see that you are not specifying a client cert to use because there is no SSL_cert_file attribute in your call to start_SSL. Try swapping the SSL_key_file for SSL_cert_file instead as that should accept a key/cert pair in PKCS#12 format.

  • Comment on Re: IO::SOCKET::SSL rest client requires client certificate can do it with curl but not in perl
  • Select or Download Code