Sometime late last week or over the weekend, our requests to authorize.net in our produciton environment (post url - https://api.authorize.net/xml/v1/request.api) have been giving us a curl error:
We are running on centos 6.8 with php 5.4.45 and nginx 1.8.0. I have attempted to update ca-certificates and nss. Neither has fixed the issue. Commenting out the curl option CAINFO has mitigated the issue for the time being. I have looked at the .pem file that CAINFO line points to, it is good through 2022.
The code sets CURLOPT_SSL_VERIFYPEER to 2 prior to seting CURLOPT_CAINFO.
The code and the environment hasn't changed over this period of time.
Thank you for your time and assistance.
01-11-2017 05:20 AM
Hello @oach
Please refer to the thread below about updating your cert.pem file if you are using an older PHP SDK.
Richard
01-11-2017 05:22 AM