1. Check the service log and see the following error from the /var/log/ HTTPD /nss_error_log file:
[Sat Aug 20 08:17:49 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sat Aug 20 08:17:49 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
[Sat Aug 20 08:17:49 2016] [error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[Sat Aug 20 08:17:49 2016] [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
It says certificate problem. Check the certificate: Discovery time expired
“Certutil-d /etc/httpd/ Alia-L-n Server-CERT”
2. The default time of installation of the certificate is 4 years.
3. Treatment:
1. If you don’t need to use mod_nss module, that the/etc/HTTPD/conf. Directly to the d/NSS. The conf file renaming or deletion; 2. Do not verify certificate expiration time, add nssenforcidcerts off configuration in nss.conf;
3. Is to regenerate the new certificate; Be sure to delete the old certificate database file before generating a new certificate
CD/etc/HTTPD/alias
The rm -f *. The db
The/usr/sbin/gencert/etc/HTTPD/alias & gt; /etc/httpd/alias/install.log 2> & 1
Certutil-d /etc/httpd/ Alia-L-n Server-CERT
Chmod 750 *.db (because it operates under root, it generates permissions that are root permissions)
Restart the HTTPD
Reproduced in: https://www.cnblogs.com/Fle-x/articles/5789614.html
Read More:
- cURL error 60: SSL certificate problem: self signed certificate in certificate chain
- How to Fix SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed.
- svn: E230001: Server SSL certificate verification failed: certificate issued
- SSL handshake failed: SSL error: illegal key usage detected in the certificate
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- SELinux solution to Apache SSL failure
- Idea svn connection https error report: E230001: Server SSL certificate verification failed: certificate issued
- FileZilla server failed to initialize SSL Library
- Python uses requests to request and reports SSL: CERTIFICATE_VERIFY_FAILED error
- Failed to initialize nvml driver / library version mismatch due to automatic update of NVIDIA driver
- Apache service failed to start, semaphore not released
- Shell curl command reported an error: (60) SSL certificate problem: self signed certificate
- [SSL: CERTIFICATE_VERIFY_FAILED] Certificate Verify Failed (_ssl.C:579)
- GuzzleHttp cURL error 60: SSL certificate problem: self signed certificate
- Install apache2.4 on windows to solve the problem of the requested operation has failed
- ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- Jenkins SVN error Server SSL certificate verification failed: issuer is not trusted
- Andorid: Installation failed due to invalid APK file due to version mismatch
- How to Fix 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