PHP reports this error in curl:
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
Query 60 errors according to the address indicated after the error report:
CURLE_SSL_CACERT (60)
Peer certificate cannot be authenticated with known CA certificates.
Unable to obtain local issuer certificate
Solution: (http://stackoverflow.com/questions/29822686/curl-error-60-ssl-certificate-unable-to-get-local-issuer-certificate) search on the net
Error regarding “SSL Certificate Problem: Unable to obtain local issuer certificate”. Obviously, this applies to the system that sends CURL requests (and the server that doesn’t receive them)
1) from https://curl.haxx.se/ca/cacert.pem. Download the latest cacert pem
2) Add the following line to php.ini (if this is Shared hosting and you do not have access to php.ini then you can add to.user.ini in public_html)
curl.cainfo=/path/to/downloaded/cacert.pem
3) by default, the FastCGI process will analytical new file every 300 seconds (if needed, you can add several files to change frequency, such as suggested here https://ss88.uk/blog/fast-cgi-and-user-ini – files – the – new – htaccess file /)
Read More:
- cURL error 60: SSL certificate problem: self signed certificate in certificate chain
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- Shell curl command reported an error: (60) SSL certificate problem: self signed certificate
- GuzzleHttp cURL error 60: SSL certificate problem: self signed certificate
- svn: E230001: Server SSL certificate verification failed: certificate issued
- How to Fix SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed.
- SSL handshake failed: SSL error: illegal key usage detected in the certificate
- Idea svn connection https error report: E230001: Server SSL certificate verification failed: certificate issued
- cURL error 35:error:140770FC:SSL routines:SSL_23_GET_SERVER_HELLO:unknown protocol
- error: RPC failed; curl 56 OpenSSL SSL_ read: SSL_ ERROR_ Syscall, errno 10054 solution
- Mac installation dart error curl: (35) libresssl SSL_ connect: SSL_ ERROR_ SYSCALL in connection to storage.googleapis.co
- [SSL: CERTIFICATE_VERIFY_FAILED] Certificate Verify Failed (_ssl.C:579)
- Python – SSL certificate error
- ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
- URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)
- When we crawl to the HTTPS website, the SSL certificate error is solved
- Python uses requests to request and reports SSL: CERTIFICATE_VERIFY_FAILED error
- Jenkins SVN error Server SSL certificate verification failed: issuer is not trusted
- Abnormal report error javax.net.ssl .SSLHandshakeException: server certificate change is restrictedduring renegotiation