Categories
Uncategorized

CURL ERROR: SSL certificate problem: self signed certificate in certificate chain (Authorize.net)

Recently there was a spike in Authorize.net customers that reported their sites credit card processing errors which, according to log files resulted in the following error produced:

CURL ERROR: SSL certificate problem: self signed certificate in certificate chain

Fix:

Testing (oneliner):

echo | openssl s_client -connect apitest.authorize.net:443 -showcerts -verify 10 -CAfile /home/path/to/cert.pem

Make sure to replace “/home/path/to/cert.pem” with the real path. If all is good you’ll get something like this at the end:

Verify return code: 0 (ok)

Otherwise you’ll see:

Verify return code: 19 (self signed certificate in certificate chain)

Leave a Reply

Your email address will not be published. Required fields are marked *