Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

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

Open
chetanbissa27 opened this issue Mar 18, 2016 · 5 comments

Comments

@chetanbissa27
Copy link

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
Copy link
Author

Please someone help me

@zhoulujun
Copy link

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

@zhoulujun
Copy link

but nobody help me ^

@ethereumdegen
Copy link

@clreddy21
Copy link

clreddy21 commented Jul 1, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants