- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SSL Migration, PHP + CURL Tests Fail with Error
I am trying to test peer verification against the new certificate but it always fails with "SSL certificate problem: self signed certificate in certificate chain". This usually means that the CA file is invalid, but I am using the recommended cert: "DigiCert Global Root G2". Here are the calls:
โ10-23-2024 02:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to solve this by not specifying the CA file at:
curl_setopt($curl_request, CURLOPT_CAINFO, getcwd() . '/auth_net_cert.pem');
And instead relying on the OS having the appropriate CA chain installed. This issue is that the DigiCert chain includes a self signed certificate, which cannot be used in this manner. Self-signed certificates have to be manually added to the trust store used by the OS or SSL implementation because they are implicitly untrusted.
โ10-24-2024 03:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello aksuska,
As per below article the cert migration is yet to release: https://support.authorize.net/knowledgebase/Knowledgearticle/?code=KA-05545
Dipesh
Please DONOT submit any sensitive data
โ11-20-2024 10:22 PM