Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Yosemite SSL: CA certificate set, but certificate verification is disabled

Tags:

osx-yosemite

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

like image 882
Frank van Vliet Avatar asked Nov 03 '14 08:11

Frank van Vliet


1 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

like image 130
Styledev Avatar answered Sep 23 '22 19:09

Styledev