Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
This repository was 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

@chetanbissa27

Description

@chetanbissa27

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions