cPanel Service SSL Certificate Warnings with Nginx
Hello I have got this warning from My Server
[QUOTE]The system failed to acquire a signed certificate from the cPanel Store because of the following error: Neither HTTP nor DNS DCV preflight checks succeeded!
I try to tun the script : /usr/local/cpanel/bin/checkallsslcerts & I got this: [QUOTE] The system will check for the certificate for the "cpanel" service. The system will attempt to verify that the certificate for the "cpanel" service is still valid using OCSP (Online Certificate Status Protocol). The "cpanel" service"s current certificate comes with the server"s cPanel license. This certificate expires in less than 25 days. The system will attempt to renew and install a new certificate to the "cpanel" service and any other services that use the old certificate. The system will attempt to install a certificate for the "cpanel" service from the system ssl storage. None of the certificates in the system ssl storage were acceptable to use for the "cpanel" service. The system will attempt to install a certificate for the "cpanel" service from the cPanel store. Received error "X::NoCertificate" from cPanel Store; requesting new certificate " Setting up HTTP DCV (/var/www/html/.well-known/pki-validation/254EDC5C2E35AE8EA4AAAC8EE446A48A.txt) " " complete. Setting up DNS DCV (CNAME _254edc5c2e35ae8ea4aaac8ee446a48a.main.nileyouth.net) " " complete. Attempting DNS DCV preflight check " FAILED: The DNS DCV check (_254edc5c2e35ae8ea4aaac8ee446a48a.main.nileyouth.net IN CNAME) did not return the expected value (947157153fe2fc87e6c90d6eb51d2ddb.ac9b3bb8abffcfc1cfa94dbbf2bd2d0d.comodoca.com). Attempting HTTP DCV preflight check " FAILED: Cpanel::Exception/(XID ww3kt4) The system queried for a temporary file at ", but the web server responded with the following error: 404 (Not Found). A DNS (Domain Name System) or web server misconfiguration may exist. at /usr/local/cpanel/Cpanel/SSL/DCV.pm line 386. Cpanel::SSL::DCV::__ANON__(Cpanel::Exception::HTTP::Server=HASH(0x4014310)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Try/Tiny.pm line 118 Try::Tiny::try(CODE(0x3ff6c80), Try::Tiny::Catch=REF(0x3a70448)) called at /usr/local/cpanel/Cpanel/SSL/DCV.pm line 446 Cpanel::SSL::DCV::_verify_http("
Can any one help in this please ?? thanks everybody
I try to tun the script : /usr/local/cpanel/bin/checkallsslcerts & I got this: [QUOTE] The system will check for the certificate for the "cpanel" service. The system will attempt to verify that the certificate for the "cpanel" service is still valid using OCSP (Online Certificate Status Protocol). The "cpanel" service"s current certificate comes with the server"s cPanel license. This certificate expires in less than 25 days. The system will attempt to renew and install a new certificate to the "cpanel" service and any other services that use the old certificate. The system will attempt to install a certificate for the "cpanel" service from the system ssl storage. None of the certificates in the system ssl storage were acceptable to use for the "cpanel" service. The system will attempt to install a certificate for the "cpanel" service from the cPanel store. Received error "X::NoCertificate" from cPanel Store; requesting new certificate " Setting up HTTP DCV (/var/www/html/.well-known/pki-validation/254EDC5C2E35AE8EA4AAAC8EE446A48A.txt) " " complete. Setting up DNS DCV (CNAME _254edc5c2e35ae8ea4aaac8ee446a48a.main.nileyouth.net) " " complete. Attempting DNS DCV preflight check " FAILED: The DNS DCV check (_254edc5c2e35ae8ea4aaac8ee446a48a.main.nileyouth.net IN CNAME) did not return the expected value (947157153fe2fc87e6c90d6eb51d2ddb.ac9b3bb8abffcfc1cfa94dbbf2bd2d0d.comodoca.com). Attempting HTTP DCV preflight check " FAILED: Cpanel::Exception/(XID ww3kt4) The system queried for a temporary file at ", but the web server responded with the following error: 404 (Not Found). A DNS (Domain Name System) or web server misconfiguration may exist. at /usr/local/cpanel/Cpanel/SSL/DCV.pm line 386. Cpanel::SSL::DCV::__ANON__(Cpanel::Exception::HTTP::Server=HASH(0x4014310)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Try/Tiny.pm line 118 Try::Tiny::try(CODE(0x3ff6c80), Try::Tiny::Catch=REF(0x3a70448)) called at /usr/local/cpanel/Cpanel/SSL/DCV.pm line 446 Cpanel::SSL::DCV::_verify_http("
Can any one help in this please ?? thanks everybody
-
I have found the issue finally: the custom_rules for Nginx I have put this value on it : in [QUOTE]# === WHEN TO SPECIFY A DOMAIN IP ===
if ($host ~ "nileyouth.net") { set $PROXY_DOMAIN_OR_IP "5.9.49.88"; }
When I Add the same for the Main Host name with the Other IP It solve the issue Thanks for all0 -
Hello @Nile Youth, I'm glad to see you were able to solve the problem. Thank you for sharing the outcome. 0 -
Hi, I am facing the same issue. could your explain a bit in detail how & where should I add the custom_rule for nginx. thanks 0
Please sign in to leave a comment.
Comments
4 comments