1、 Question
Curl error 60: SSL certificate problem: self signed certificate in certificate chain – server http302 this is generally a problem with self signed certificates
2、 Settle
Scheme 1. Directly use the domain name with HTTPS on the online server
Solution 2. Windows local development environment solution
a) Download certificate:
https://github.com/china-li-shuo/ca-cert
b) Put the downloaded Certificate in your PHP path:
D: \ wamp64 \ bin \ PHP \ php7.3.21 \ extras \ SSL
this is your local PHP version path
c) Modify the php.ini
file
curl.cainfo ="D:\wamp64\bin\php\php7.3.21\extras\ssl\ca-cert.crt"
openssl.cafile="D:\wamp64\bin\php\php7.3.21\extras\ssl\ca-cert.crt"
d) Just restart PHP
Read More:
- Shell curl command reported an error: (60) SSL certificate problem: self signed certificate
- GuzzleHttp cURL error 60: SSL certificate problem: self signed certificate
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- cURL error 60: SSL certificate problem…
- svn: E230001: Server SSL certificate verification failed: certificate issued
- Idea svn connection https error report: 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.
- Configure HTTPS and self signed certificate for nginx
- SSL handshake failed: SSL error: illegal key usage detected in the certificate
- Spark login error unable to verify certificate and certificate host name verification failed
- Was import certificate — error prompt: java.security.cert .CertPathValidatorException: Certificate chaining error
- [SSL: CERTIFICATE_VERIFY_FAILED] Certificate Verify Failed (_ssl.C:579)
- Python – SSL certificate error
- ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- [Solved] onlyoffice Error: error self signed certificate and download failed
- Python uses requests to request and reports SSL: CERTIFICATE_VERIFY_FAILED error
- server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
- When we crawl to the HTTPS website, the SSL certificate error is solved
- Jenkins SVN error Server SSL certificate verification failed: issuer is not trusted
- URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)