Current location - Quotes Website - Signature design - As in the title php Curl error: SSL certificate problem: self signed certificate in certificate chain
As in the title php Curl error: SSL certificate problem: self signed certificate in certificate chain

Certificate problem

The certificate should be a self-signed certificate, which is not authoritative

You can pass curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); let it not verify the SSL certificate

The best solution is to obtain the certificate through an authoritative certificate authority