SSL certificate verify failed on Ruby
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
rvm and the like, all to no avail. Eventually, the solution was found using the
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:
I hope this helps anyone else who encounters this.