private_pub icon indicating copy to clipboard operation
private_pub copied to clipboard

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

Open chetanbissa27 opened this issue 8 years ago • 5 comments

I am running application on localhost.following command I use to generate certificate and private key sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout private.key -out cert.crt

following is my configuration on localmachine port: 9292 ssl: true ssl_key_file: /home/bissa_c/cer/private.key ssl_cert_file: /home/bissa_c/cer/cer.crt environment: development rackup: private_pub.ru

command to run thin server thin -C config/private_pub_thin.yml start

while post message on channel I am getting error SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

I am also running my application with thin thin start --ssl --ssl-key-file ~/cer/private.key --ssl-cert-file ~/cer/cer.crt

Please help

chetanbissa27 avatar Mar 18 '16 12:03 chetanbissa27

Please someone help me

chetanbissa27 avatar Mar 21 '16 12:03 chetanbissa27

i wait the solution of this quesion at least a year!

zhoulujun avatar Mar 31 '16 03:03 zhoulujun

but nobody help me ^

zhoulujun avatar Mar 31 '16 03:03 zhoulujun

http://jimneath.org/2011/10/19/ruby-ssl-certificate-verify-failed.html

ethereumdegen avatar May 05 '16 18:05 ethereumdegen

add certified gem to your gemfile, bundle and restart server. It should work.

clreddy21 avatar Jul 01 '16 04:07 clreddy21