OS: CentOS Linux 7.7.1908
Webmin: 1.941
For more than 3 years the Lets Encrypt certificates renewed automatically every 3 months, now I don’t know what happened after last upgrade to Webmin 1.941 or maybe any other updates, but in the Webmin update details that they removed some features about Lets Encrypt which I don’t understand it very well.
I searched the forum before add this topic and I found that is a redirect issue from http to https and some people fixed it successfully but because I’m not so professional I cannot do it. But the question is How you ask me to redirect the https to http while the Lets Encrypt is working for https only?
I’ve removed the option [Apache SSL website enabled?] for that subdomain but the SSL Certificate in the Server Configuration menu disappeared so How do you ask me to redirect https to http.
I think you must fix that issue to be renewed automatically like before.
I need your help with steps as you can because i’m not so professional, Thanks.
The issue details:
Traceback (most recent call last):
File "/usr/libexec/webmin/webmin/acme_tiny.py", line 198, in <module>
main(sys.argv[1:])
File "/usr/libexec/webmin/webmin/acme_tiny.py", line 194, in main
signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca, disable_check=args.disable_check, directory_url=args.directory_url, contact=args.contact)
File "/usr/libexec/webmin/webmin/acme_tiny.py", line 143, in get_crt
raise ValueError("Wrote file to {0}, but couldn't download {1}: {2}".format(wellknown_path, wellknown_url, e))
ValueError: Wrote file to /home/DOMAIN/domains/ns1.DOMAIN.com/public_html/.well-known/acme-challenge/thGCxdpRaPdoCXypNexZVzHaj6SDLPvrNMGGLsvOt3o, but couldn't download http://ns1.DOMAIN.com/.well-known/acme-challenge/thGCxdpRaPdoCXypNexZVzHaj6SDLPvrNMGGLsvOt3o: Error:
Url: http://ns1.DOMAIN.com/.well-known/acme-challenge/thGCxdpRaPdoCXypNexZVzHaj6SDLPvrNMGGLsvOt3o
Data: None
Response Code: 404
Response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /.well-known/acme-challenge/thGCxdpRaPdoCXypNexZVzHaj6SDLPvrNMGGLsvOt3o was not found on this server.</p>
</body></html>