Suranyami

certificates

Our team recently began using PhraseApp for translations/localizations. It's a great service. But, we hit a problem:

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

We tried the usual things:

brew uninstall openssl
brew install openssl
brew link openssl --force
rvm osx-ssl-certs update all

and imploding rvm and the like, all to no avail. Eventually, the solution was found using the following:

ssl-tool: Misc. tools to help with debugging WTF is going on with SSL connections and Ruby

This showed that there was an expired CA cert from GlobalSign on the dev machine.

It was then fixed with this:

OpenSSL and dealing with expired Root CA certs

I hope this helps anyone else who encounters this.

August 25th, 2015 10:27am #ruby #ssl #certificates #expired #homebrew

Discuss...