OpenCart 1.5.4 CURL SSL Certificate Problem

When attempting to install and use the PayHub OpenCart 1.5.x integration, you may receive the following error: 

OpenCart_1.5.4_Error.png

"CURL ERROR: 60: SSL Certificate rpoblem, verify that the CA cert is OK.  Details: error: 14090086: SSL routines SSL3_GET_SERVER_CERTIFICATE:certificate verify failed"

This is related to a certificate problem on the local issuer certificate: 

Relating to 'SSL certificate problem: unable to get local issuer certificate' error. Rather obviously this applies to the system sending the CURL request (and no the server receiving the request)

1) Download the latest cacert.pem from https://curl.haxx.se/ca/cacert.pem

2) Add the following line to php.ini (if this is shared hosting and you don't have access to php.ini then you could add this to .user.ini in public_html)

curl.cainfo=/path/to/downloaded/cacert.pem

 

Have more questions? Submit a request

Comments

Powered by Zendesk