Skip to content

Instantly share code, notes, and snippets.

@ahadshafiq
Created April 11, 2013 23:07
Show Gist options
  • Save ahadshafiq/5367947 to your computer and use it in GitHub Desktop.
Save ahadshafiq/5367947 to your computer and use it in GitHub Desktop.
Fixing an SSL error that came up during Janus curl. openssl::ssl::sslerror: ssl_connect returned=1 errno=0 state=sslv3 read server certificate b: certificate verify failed
rvm -v
rvm get head
rvm -v
rvm osx-ssl-certs status all
The above will show if certificates are outdated:
Certificates for /opt/sm/pkg/versions/openssl/1.0.1c/ssl/cert.pem: Old.
rvm osx-ssl-certs update all
The above will update the certificates:
Updating certificates for /opt/sm/pkg/versions/openssl/1.0.1c/ssl/cert.pem:
Updating certificates in '/opt/sm/pkg/versions/openssl/1.0.1c/ssl/cert.pem'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment