Skip to content

Instantly share code, notes, and snippets.

@cezr
Last active July 3, 2017 08:11
Show Gist options
  • Save cezr/7b37f701a7f226f1d337b66058129599 to your computer and use it in GitHub Desktop.
Save cezr/7b37f701a7f226f1d337b66058129599 to your computer and use it in GitHub Desktop.
osx update openssl
https://medium.com/@katopz/how-to-upgrade-openssl-8d005554401
https://www.reddit.com/r/osx/comments/5oafqg/trouble_linking_openssl_on_osx_el_capitan/
#terminal .bash_profile
export PATH=$(brew --prefix openssl)/bin:$PATH
#ssl certs
https://github.com/rubygems/rubygems/issues/1736
# manual solution to SSL issue
http://guides.rubygems.org/ssl-certificate-update/#manual-solution-to-ssl-issue
#then
ruby -ropenssl -e 'p OpenSSL::X509::DEFAULT_CERT_FILE' that outputs "/usr/local/etc/openssl/cert.pem"
mv /usr/local/etc/openssl/cert.pem /usr/local/etc/openssl/cert.pem.old
copy new cert.pem to directory
https://github.com/rubygems/rubygems/issues/1769
https://gist.github.com/luislavena/f064211759ee0f806c88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment