I have updated the ssl package in my ubuntu vs, I signed the new certificates and installed them correctly using nginx, when I access my website it works perfectly, however… seems like ruby is not getting the new certificates because when in my rails app (running on unicorn) try to use the ssl package I got this error:
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
I got the same error when I try to run this code:
require ‘open-uri’ open(‘https://www.google.com/’) </pre> I try to set this export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt, but it didn’t work :(
I will appreciate if anyone can point me to the right direction.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.