Reply
Member
Posts: 3
Registered: ‎09-22-2015

Ruby on rails SSL certificate verify failed

We use Ruby 1.9 and CIM integration method. as of last night we can't authorize any payments. We get the error:

 SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
 /usr/lib/ruby/1.9.1/net/http.rb:799:in `connect'
 
 
but continue to recieve the error.
 
any help would be appreciated.
Posts: 2,765
Topics: 57
Kudos: 248
Blog Posts: 67
Registered: ‎12-05-2011

Re: Ruby on rails SSL certificate verify failed

Hello @sbirochester

 

Sorry to hear you're having trouble.

 

Do you know what version of OpenSSL you are using?

 

And where did you install the root certificates?

 

Richard

Member
Posts: 3
Registered: ‎09-22-2015

Re: Ruby on rails SSL certificate verify failed

Openssl 1.0.1

 

I moved them to /usr/share/ca-certificates/extra, then ran 

sudo dpkg-reconfigure ca-certificates 
Posts: 2,765
Topics: 57
Kudos: 248
Blog Posts: 67
Registered: ‎12-05-2011

Re: Ruby on rails SSL certificate verify failed

Hello @sbirochester

 

A couple of suggestions.  First, it appears you're using an unsupported version of Ruby.  Merchants are strongly encouraged to keep their systems, tools and platforms up to date and fully patched to maintain PCI DSS compliance.

 

You may also wish to seek out a Ruby expert for advice on updating the certificate store properly.

 

Richard

Member
Posts: 3
Registered: ‎09-22-2015

Re: Ruby on rails SSL certificate verify failed

Which version(s) are supported?

Posts: 2,765
Topics: 57
Kudos: 248
Blog Posts: 67
Registered: ‎12-05-2011

Re: Ruby on rails SSL certificate verify failed