Skip to content

Instantly share code, notes, and snippets.

@davidpaulhunt
Last active November 6, 2016 09:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidpaulhunt/1b78697e4f69c56a210cd9017ed198ad to your computer and use it in GitHub Desktop.
Save davidpaulhunt/1b78697e4f69c56a210cd9017ed198ad to your computer and use it in GitHub Desktop.
Unable to verify certificate fix re: excon, openssl, and fog

Ran into the excon/openssl error certificate verify failed (OpenSSL::SSL::SSLError) Unable to verify certificate.

After reading through a few posts, trying different solutions, here are the steps that resolved the issue with regards to my particular needs. Final main source at the bottom.

brew doctor
brew update openssl

rvm get stable
rvm install ruby-2.1.9 --with-openssl-dir=`brew --prefix openssl`
rvm use 2.1.9 --default

gem install bundler

bundle install

http://stackoverflow.com/questions/30741367/ruby-using-wrong-version-of-openssl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment