Is not possible use the:
curl_setopt($ch, CURLOPT_CAINFO, $file);
The error show is not possible find the certificate.
curl_setopt($ch, CURLOPT_CAPATH, $file) with the curl_setopt($ch, CURLOPT_CAINFO, $file) get the same problem.
If local file:
-index.php (with curl)
-certificate.crt
Get error on check the certificate, ‘certificate.crt’ is not found.
Same error with external file.
-index.php
= c:\crt.crt
Is not possible load the crt.crt.
Extract the crt to %PATH% and load from it is not possible too.
I CAN’T DISABLE VERIFYPEER!
How can load the CAINFO and/or CAPATH), however, how can check the SSL certificate?
curl_setopt($ch, CURLOPT_CAINFO, $file);
The error show is not possible find the certificate.
curl_setopt($ch, CURLOPT_CAPATH, $file) with the curl_setopt($ch, CURLOPT_CAINFO, $file) get the same problem.
If local file:
-index.php (with curl)
-certificate.crt
Get error on check the certificate, ‘certificate.crt’ is not found.
Same error with external file.
-index.php
= c:\crt.crt
Is not possible load the crt.crt.
Extract the crt to %PATH% and load from it is not possible too.
I CAN’T DISABLE VERIFYPEER!
How can load the CAINFO and/or CAPATH), however, how can check the SSL certificate?
Last edited: