Symptoms
When running AutoSSL for a user, you may encounter the following error during the HTTP DCV check:
# /usr/local/cpanel/bin/autossl_check --user=cpaneluser
.........
Local HTTP DCV error (domain.tld): You do not have a document root for the domain “domain.tld”.
Cause
This error occurs when the domain in question is missing from the /etc/userdatadomains file.
Resolution
-
Confirm domain is missing from this file:
# grep exampledomain.com /etc/userdatadomains
-
Run the following command as the root user to rebuild the data in
/etc/userdatadomains:# /scripts/updateuserdatacache
- If the domain is now in the file, you're all set to try AutoSSL again.
If the account's userdata is missing or corrupt, you would need to follow our documentation to rebuild it, then rerun AutoSSL:
Comments
0 comments
Article is closed for comments.