cancel
Showing results for 
Search instead for 
Did you mean: 

SSL Error

Hi,

 

On Friday (10/9/2015) we started to get back this error message on our sandbox account:

 

SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

 

We are using the php sdk on github: https://github.com/AuthorizeNet/sdk-php

 

We updated the certificate to the one in the repo but are still getting this message.  The only thing that is coming up when googling is a change that occurred in April, that we fixed at that time, but it seems to have happened again.

 

Any help on how to fix is appreciated.

 

Thanks!

leo22
Member
3 REPLIES 3

I had the same issue with my sandbox account. It looks like the bundled certificate file was out of date...

 

To update:

 

Go to http://curl.haxx.se/docs/caextract.html and download the "ca-bundle.crt" file.(The .pem file is out of date here, too)

 

Save it to your "/lib/ssl/" folder from the SDK as "cert.pem", overwriting the existing version. (Feel free to make whatever backups you want first, of course).

 

 

Test away! That's how I was able to resolve the certificate verification failure.

rossdelliott
Member

thanks, but that didn't work

 

It seems I misspoke, actually... My test was poorly formed and it returned a "true" instead of a "false" using the above certs.

 

So, my sandbox is still broken.

 

But the certs appear to be the issue... It's just a question of finding some authorized ones.