Skip to content

Instantly share code, notes, and snippets.

@pongstr
Last active December 24, 2015 12:59
Show Gist options
  • Save pongstr/6801311 to your computer and use it in GitHub Desktop.
Save pongstr/6801311 to your computer and use it in GitHub Desktop.
Fix for “OpenSSL certificate verify failed” with Ruby
# =================================================================
# Use RVM to Fix SSL Certificates
# =================================================================
# Taken from Daniel Kehoe's Blog Post
# http://railsapps.github.io/openssl-certificate-verify-failed.html
# =================================================================
# Update RVM
$ sudo rvm get stable
# Reload RVM
$ rvm reload
# Update SSL
$ rvm osx-ssl-certs update all
# Stay Healthy, automate updating of certs
$ sudo rvm osx-ssl-certs cron install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment