Troubleshooting SSL Certificates, Ruby, Mac OS X Yosemite

On OS X Mavericks, I get the following error from my Ruby programs when I try to connect to various APIs:

Seahorse::Client::NetworkingError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed 

What is the recommended solution for this?

0
ruby ssl osx-yosemite macos
Jun 17 '15 at 20:33
source share
1 answer

In my case, the problem was this:

  • Ruby, installed as binary with RVM, suggested that OpenSSL is in / etc / openssl
  • OpenSSL was installed with Homebrew in / usr / local / etc / openssl

=> Mismatch; and symlinking / etc / openssl -> / usr / local / etc / openssl did not help.

Compile RVM Ruby from sources: rvm install VERSION --disable-binary

After that, make sure your certificates are updated: rvm osx-ssl-certs update

+2
09 Oct '15 at 10:10
source share



All Articles