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
--cacert
and --cert
are broken in OSX Mavericks.
You can read more about it here: https://groups.google.com/forum/#!topic/munki-dev/oX2xUnoQEi4
The workaround is here: http://curl.haxx.se/mail/archive-2013-10/0036.html which indicates that you need to import the certificate as a trusted system cert:
Import the certificate into the system ("System") or user ("login") keychain using Keychain Access and mark it as always trusted for SSL and X.509 basic policy.