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:
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.