0
votes

Everything I try and connect to via https fails. Bellow is a curl output, but it does this with git mongo and everything. darwin just doesn't like https.

  • About to connect() to github.com port 443 (#0)
  • Trying 207.97.227.239... connected
  • Connected to github.com (207.97.227.239) port 443 (#0)
  • successfully set certificate verify locations:
  • CAfile: /usr/share/curl/curl-ca-bundle.crt CApath: none
  • SSLv2, Client hello (1):
  • SSLv3, TLS handshake, Server hello (2):
  • SSLv3, TLS handshake, CERT (11):
  • SSLv3, TLS alert, Server hello (2):
  • SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  • Closing connection #0 curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

You might say not a problem just change https to http, yes this is fine when you only have 1 url like git clone but on rvm install about 50 of the required things fails to install because of this. I don't want to go into rvm and change all occurrences of https to http.

3

3 Answers

0
votes

Take a look at this post, slightly different, but i think it will answer you questions:

SSL certificate rejected trying to access GitHub over HTTPS behind firewall

You can essentially have OSX ignore the SSL Cert Verify, and accept the connection.

0
votes

It turned out that my version of curl was using an old certificate to validate https.

I cam across this issue on git for cURL under Leopard:

https://github.com/mxcl/homebrew/issues/11947

And the error went away and I am now able to download https files from cURL.

-1
votes

This looks like an issue with curl itself, rather than OSX. What version are you using? If it's particularly old, then the reference here to a "severely outdated CA file" probably applies.

Try installing up-to-date versions of curl and git from macports.