yuu_nkjm blog
2014-09-17(Wed) [長年日記]
[Ruby][gem][bundler][Chef][Vagrant][Windows 8] はじめてのVagrant on Windows
SSL回りでエラー.
- ruby on rails - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed - Stack Overflow
- エラー:OpenSSL::SSL::SSLError SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed - komiyakの通り道
$ ruby -ropenssl -e 'p OpenSSL::X509::DEFAULT_CERT_FILE'
"C:/Users/Luis/Code/luislavena/knap-build/var/knapsack/software/x64-windows/openssl/1.0.0l/ssl/cert.pem"
こんな絶対パスがハードコーディングされているなんて….
最終的にはWindows上でfork()がないよと言われて諦めた.
ログ
Ruby 2.0.0-p481 (x64) http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p481-x64.exe?direct DevKit-mingw64 For use with Ruby 2.0 (x64 – 64bits only) http://cdn.rubyinstaller.org/archives/devkits/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe E:\root\home\local\Ruby200-x64\Devkit ruby dk.rb init ruby dk.rb install gem install bundler bundle install --path vendor/bundler gem install bundler bundle install --path vendor/bundler bundle ex berks vendor cookbooks bundle vagrant up ruby -ropenssl -e 'p OpenSSL::X509::DEFAULT_CERT_FILE' ruby -e 'knife ssl check -c /tmp/vagrant-chef-4/solo.rb' bundle exec knife ssl check -c /tmp/vagrant-chef-2/solo.rb