I am trying to connect to application on localhost which uses SSL. I am using Mac OS X Mavericks. The error I am getting is following:
Error sending cURL ge
There are two things you can do:
(1) Convert the .pem certificate to .p12:
openssl pkcs12 -export -out my_certificate.p12 -inkey my_certificate.pem -in my_certificate.pem`
and use it with curl with the PASSWORD
you pick when converting:
curl --cert my_certificate.p12:PASSWORD.
(2) Drag the .pem file into your keychain, open the infopane, set it to 'always trust' for SSL and X.509, and note the COMMON-NAME
. (name of certificate)
curl --cert COMMON-NAME
Both work for me on OSX 10.9 with cURL 7.35.0