SSL_connect returned=1 errno=0 state=SSLv3 read se

2019-05-26 15:33发布

问题:

This question already has an answer here:

  • SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed 37 answers

After launching my server and going to localhost, I get the error:

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

Tried the solutions here: http://railsapps.github.com/openssl-certificate-verify-failed.html and have been unable to get OpenSSL to update (it's at 0.9.8e). I've downloaded multiple OpenSSL packages but none are being detected in my development environment.

Unable to use solution from: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed due to Windows OS.

Solutions here not working for me either: How to solve "certificate verify failed" on Windows?

What next steps should I take?

回答1:

try add the following line into your Gemfile

gem 'certified'

and execute

bundle

Run again!