AutoSSL / 404 errors
We have just installed a brand new cPanel server on a virtual machine, I created a domain using WHMCS and tried to enable SSL. But for some reason it just keeps failing:
I had a look at the server and see the .well-known/acme-challenge directory is available on the server, but I can't see if a file is created there. The domain and all subdomains resolve to the correct IP-address. At first we tried using the cPanel AutoSSL functionality, but that did not work so we decided to try Letsencrypt. Where can I find the AutoSSL or Letsencrypt log files so I can determine what the problem is Or does anyone have an idea what could cause this?
Log for the AutoSSL run for all users: Thursday, July 5, 2018 9:15:24 PM GMT+0200 (Let"s Encrypt")
9:15:24 PM AutoSSL"s configured provider is "Let"s Encrypt"".
Checking websites for "username" "
9:15:24 PM Checking "domain.tld" "
9:15:24 PM ERROR TLS Status: Defective
ERROR Defect: NO_SSL: No SSL certificate is installed.
WARN Local DCV error (domain.tld): 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.
WARN Local DCV error (, but the web server responded with the following error: 404 (Not Found). A DNS (Domain Name System) or web server misconfiguration may exist.
WARN Local DCV error (mail.domain.tld): 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.
WARN Local DCV error (webmail.domain.tld): 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.
WARN Local DCV error (cpanel.domain.tld): 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.
WARN Local DCV error (webdisk.domain.tld): 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.
ERROR Impediment: TOTAL_DCV_FAILURE: Every domain failed DCV.
9:15:24 PM The system has completed the AutoSSL check for "username".
The system has finished checking 1 user.
I had a look at the server and see the .well-known/acme-challenge directory is available on the server, but I can't see if a file is created there. The domain and all subdomains resolve to the correct IP-address. At first we tried using the cPanel AutoSSL functionality, but that did not work so we decided to try Letsencrypt. Where can I find the AutoSSL or Letsencrypt log files so I can determine what the problem is Or does anyone have an idea what could cause this?
-
Hi @ServerBiz You mentioned that this is a new server, how long has the domain been pointed to the server? In order for the DCV check to complete propagation must also be complete. Do you have any customizations like forced redirects to https in place? The AutoSSL logs are located at WHM>>SSL/TLS>>Manage AutoSSL -> Logs you can also find them at /var/cpanel/logs/autossl/ The documentation on AutoSSL can be found here: Manage AutoSSL - Version 72 Documentation - cPanel Documentation 0 -
You mentioned that this is a new server, how long has the domain been pointed to the server? In order for the DCV check to complete propagation must also be complete. Do you have any customizations like forced redirects to https in place?
I have checked if the domain has been properly propagated, everything resolves as it should. We don't have any customizations in place as far as I know. This is a new and clean cPanel installation.0
Please sign in to leave a comment.
Comments
4 comments