Since installation of Yosemite I keep getting error SSL: CA certificate set, but certificate verification is disabled. It occurs with every https url in Terminal. Can't find how to fix this, any suggestions ? thanks Frank
2 Answers
For others coming here trying to figure out why they are running into this issue with Wordpress and maybe also WooCommerce and are on OS X Yosemite then you will want to follow Asaph/Cupcake's answer to "osx 10.10 Curl POST to HTTPS url gives SSLRead() error" (https://stackoverflow.com/a/26538127)
Basically the issue is cURL is using Apple's SecureTransport instead of OpenSSL. The linked to answer will walk you through testing the SSL Version and then fixing it.
One caveat I ran into is I had already installed php 5.5.21 via homebrew but my system was not using it. I unlinked 5.5.21 by doing "brew unlink php55
I found a wrong setting in my .gitconfig
, in the [http]
section. I added sslVerify=false
and deleted the other settings in this section, and it fixed my problem.

- 10,145
- 15
- 56
- 70

- 640
- 2
- 8
- 18
-
What was it, I'm having the same issue in Yosemite but in PHP curl – nmford Nov 12 '14 at 17:35
-
I edited my .gitconfig file -> change the [http] section : add "sslVerify=false" and delete the other settings in this section. – Frank van Vliet Nov 14 '14 at 11:15
-
1Any idea how to fix this without setting sslVerify to false? – nmford Nov 14 '14 at 13:24
-
This fixed my problem as well. Had the exact same problem. – Gurubaran May 01 '15 at 06:01