Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mizutaki/59922ab61587590c65d5 to your computer and use it in GitHub Desktop.
Save mizutaki/59922ab61587590c65d5 to your computer and use it in GitHub Desktop.
テストWidows
Windows版
以下のエラーが発生する
C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:in `connect': SSL_connect returned
1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (Far
day::SSLError)
https://gist.github.com/fnichol/867550
を参考に証明書を作成する
作成した.pemを環境変数に登録する
d:\hoge>set SSL_CERT_FILE=d:\hoge\cacert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment