SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu Linux 20.04.5 |
Virtualmin version | 7.3-1 |
I’ve multiple domains all working fine on the same VPS. One of the domains gave an alert for SSL expiry. So I forced SSL renewal but kept getting an error. This domain was working, and it’s SSL was renewing automatically for around 2 years without any problem!
My domain registrar is Namecheap and my NS is served over Cloudflare. I return the NS to Namecheap to eliminate the problem, but nothing changed.
I’ve another VPS which is also hosting many domains without a problem. I moved the website and changed the NS back to Cloudflare and I set up the DNS very carefully. All domain and related subdomains are pinged to the VPS IP without a problem. Let’s encrypt still not able to issue the certificate.
The log error is as follows:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for admin.DOMAIN.li
http-01 challenge for autoconfig.DOMAIN.li
http-01 challenge for autodiscover.DOMAIN.li
http-01 challenge for DOMAIN.li
http-01 challenge for mail.DOMAIN.li
http-01 challenge for webmail.DOMAIN.li
http-01 challenge for www.DOMAIN.li
Using the webroot path /home/DOMAIN/public_html for all unmatched domains.
Waiting for verification...
Challenge failed for domain admin.DOMAIN.li
Challenge failed for domain autoconfig.DOMAIN.li
Challenge failed for domain autodiscover.DOMAIN.li
Challenge failed for domain DOMAIN.li
Challenge failed for domain mail.DOMAIN.li
Challenge failed for domain webmail.DOMAIN.li
Challenge failed for domain www.DOMAIN.li
http-01 challenge for admin.DOMAIN.li
http-01 challenge for autoconfig.DOMAIN.li
http-01 challenge for autodiscover.DOMAIN.li
http-01 challenge for DOMAIN.li
http-01 challenge for mail.DOMAIN.li
http-01 challenge for webmail.DOMAIN.li
http-01 challenge for www.DOMAIN.li
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: admin.DOMAIN.li
Type: connection
Detail: VPS-IP-ADDRESS: Fetching https://DOMAIN.li:10000/: Invalid
port in redirect target. Only ports 80 and 443 are supported, not
10000
Domain: webmail.DOMAIN.li
Type: connection
Detail: VPS-IP-ADDRESS: Fetching https://DOMAIN.li:20000/: Invalid
port in redirect target. Only ports 80 and 443 are supported, not
20000
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. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
- The following errors were reported by the server:
Domain: autoconfig.DOMAIN.li
Type: unauthorized
Detail: VPS-IP-ADDRESS: Invalid response from
http://autoconfig.DOMAIN.li/.well-known/acme-challenge/VW-YYK7nLCSm7Ta38DfSt16qVoGmgZa6sDqOuI6M9go:
404
Domain: autodiscover.DOMAIN.li
Type: unauthorized
Detail: VPS-IP-ADDRESS: Invalid response from
http://autodiscover.DOMAIN.li/.well-known/acme-challenge/kj5Ft3u04GC0Hd3jscnyK7xjCOn60UfJXN9Q4BNkc7o:
404
Domain: DOMAIN.li
Type: unauthorized
Detail: VPS-IP-ADDRESS: Invalid response from
http://DOMAIN.li/.well-known/acme-challenge/LbHSjqbLKoBXQSOhMkAWw8CUKKqlEkEwE5ttzmJb6MA:
404
Domain: mail.DOMAIN.li
Type: unauthorized
Detail: VPS-IP-ADDRESS: Invalid response from
http://mail.DOMAIN.li/.well-known/acme-challenge/eTYCEdeuRBwqAu8oM9WPqUy4FfMRNAPk0HxSZBnjlBM:
404
Domain: www.DOMAIN.li
Type: unauthorized
Detail: VPS-IP-ADDRESS: Invalid response from
http://www.DOMAIN.li/.well-known/acme-challenge/Z9z-K_SfJhhmKobwZ_EG_EenU8XoEuC8jc3Yd9VwqkQ:
404
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.
DNS-based validation failed :
*Note: *
My domain’s TLD is “.li”, and just to be sure, I’d another domain with the same TLD. I created a new virtual server for it, and I was able to generate it’s Let’s Encrypt SSL certificate on the same VPS without any problem.
Please help me to fix this problem