Last active
December 21, 2015 23:09
-
-
Save Nuru/6380173 to your computer and use it in GitHub Desktop.
rvm requirements output, debugging OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# using rvm 1.18.14 (stable) and ruby 1.9.3-p392 a running Rails application all of a sudden stopped being able to | |
# connect via SSL with "bad ecpoint" error. | |
# | |
# Look at https://github.com/pivotal/pivotal_workstation/issues/221#issuecomment-14577443 for possible explanation | |
# | |
# Brew says openssl 1.0.1e is installed. | |
# rvm pkg install openssl | |
# installs 1.0.1c | |
# Then make rvm rubies use it: | |
# rvm reinstall all --with-open-ssl-dir=$rvm_path/usr --force | |
# | |
# This soloved the problem | |
prompt$ rvm --debug requirements | |
Requirements for osx/10.8/x86_64 | |
NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X) | |
This is the *original* / standard Ruby Language Interpreter | |
'ree' represents Ruby Enterprise Edition | |
'rbx' represents Rubinius | |
Additional Dependencies: | |
# For update-system: | |
brew update | |
brew tap homebrew/dupes | |
# For rvm: | |
brew install bash curl git | |
# For ruby: | |
brew install autoconf automake apple-gcc42 libtool pkg-config openssl readline libyaml sqlite libxml2 libxslt libksba | |
# For jruby | |
prompt$ brew info openssl | |
openssl: stable 1.0.1e | |
http://openssl.org | |
This formula is keg-only. | |
Mac OS X already provides this software and installing another version in | |
parallel can cause all kinds of trouble. | |
The OpenSSL provided by OS X is too old for some software. | |
/usr/local/Cellar/openssl/1.0.1e (429 files, 15M) | |
From: https://github.com/mxcl/homebrew/commits/master/Library/Formula/openssl.rb | |
prompt$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment