The request message was malformed :: Error creating new authz :: DNS name does not have enough labels
I have IPS forums system already installed in the folder
But each time I want to create
certbot certonly --webroot -w /srv/htdocs/domainforlder -d domainforlder
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
It seems that your script is makeing an universal redirect (redirect all not existed files to an error page…) that make let’s encrypt can’t find the verification file.
You could try the webroot to bypass the redirection.
Use certbot -webroot ( then specify a path inside your html folder)
Obtaining a new certificate
An unexpected error occurred:
The request message was malformed :: Error creating new authz :: DNS name does not have enough labels
Please see the logfiles in /var/log/letsencrypt for more details.
I think it’s important to know the exact path because in your first post you referred to domainforlder rather than domainfolder. These single-character typos aren’t innocuous to a computer and could be a reason that a certificate doesn’t get issued.
You also said it was /srv/htdocs/domainforlder in your first post but you mentioned srv/domainfolder (without htdocs) in your most recent post.
I said that as an example and the real error msg is
(Y)es/(N)o: n
Obtaining a new certificate
An unexpected error occurred:
The request message was malformed :: Error creating new authz :: DNS name does not have enough labels
Please see the logfiles in /var/log/letsencrypt for more details.