Operating system:Debian Linux 9
Hi all, I tried to letsencrypt renew my domain and webmin server cert and I get the following error:
Requesting a certificate for mysite.com, www.mysite.com, jp.mysite.com from Let's Encrypt .. .. request failed : Web-based validation failed : Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Renewing an existing certificate Performing the following challenges: http-01 challenge for jp.mysite.com http-01 challenge for mysite.com http-01 challenge for www.mysite.com Using the webroot path /home/mysite/public_html for all unmatched domains. Waiting for verification... Cleaning up challenges Failed authorization procedure. mysite.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mysite.com/.well-known/acme-challenge/F-is3Wku7hLBMMMg_oDAAAgIZk8glDHDoSTg3XYXTAM [22.214.171.124]: "<!DOCTYPE html>\n<html class=\"avada-html-layout-wide avada-html-header-position-top\" lang=\"en-US\" prefix=\"og: http://ogp.me/ns# f" IMPORTANT NOTES: - The following errors were reported by the server: Domain: mysite.com Type: unauthorized Detail: Invalid response from http://mysite.com/.well-known/acme-challenge/F-is3Wku7hLBMMMg_oDAAAgIZk8glDHDoSTg3XYXTAM [126.96.36.199]: "<!DOCTYPE html>\n<html class=\"avada-html-layout-wide avada-html-header-position-top\" lang=\"en-US\" prefix=\"og: http://ogp.me/ns# f" To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.
I actually have no idea how to fix this… any help would be much appreciated. I am using the virtualmin > server configuration > SSL certificate > Let’s Encrypt tab.
My webmin and website are both using the same domain.
Webmin = jp.mysite.com
Website = www.mysite.com and mysite.com
FTP is encrypted but of course, this is expired also…
DNS A redirects to the correct IP address, I do not use AAAA
- I found some help on Let's Encrypt SSL certificate ".. request failed : Web-based validation failed : Failed to request certificate :" | Virtualmin but I have no idea how to apply it. How can I add ./well-known as alias per-vhost and will it fix my issue?
- I found some help on virtualhost - Global Apache Alias, ignoring virtual hosts - Server Fault which looks like it deals with the same issue but I also have no idea how to apply it. I have no idea “where” I can add this alias and how to apply it.
If someone would please be so very kind to provide step by step instructions for how to do this in virtualmin/webmin, I would be very grateful.