Hello,
I’ve gotten this with one of the websites I’m hosting, and, I may be mistaken of course, but I don’t think it’s the usual error we see in the virtualmin forums.
Please, may I humbly ask if you have an idea or a suggestion to make it work? Frankly, all I care is to get my friend’s website to keep on working without issues, even if this is not a purely virtualmin method, as long as it works with Debian, I’m all ears.
Here’s the log that’s shown in virtualmin > edit server > ssl certificate > let’s encrypt:
Requesting a certificate for [the website's].com, www.[the website's].com from Let's Encrypt ..
.. request failed : Web-based validation failed : Failed to request certificate :
Traceback (most recent call last):
File "/usr/share/webmin/webmin/acme_tiny.py", line 198, in <module>
main(sys.argv[1:])
File "/usr/share/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/share/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/[the website's]/public_html/.well-known/acme-challenge/hEy_fWjLypek1sBDrz1f0asHZlWmebWT3HtVogO4vGE, but couldn't download http://[the website's].com/.well-known/acme-challenge/hEy_fWjLypek1sBDrz1f0asHZlWmebWT3HtVogO4vGE: Error:
Url: http://[the website's].com/.well-known/acme-challenge/hEy_fWjLypek1sBDrz1f0asHZlWmebWT3HtVogO4vGE
Data: None
Response Code: None
Response: <urlopen error [Errno 1] _ssl.c:504: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>
DNS-based validation failed : Failed to request certificate :
usage: acme_tiny.py [-h] --account-key ACCOUNT_KEY --csr CSR --acme-dir
ACME_DIR [--quiet] [--disable-check]
[--directory-url DIRECTORY_URL] [--ca CA]
[--contact [CONTACT [CONTACT ...]]]
acme_tiny.py: error: argument --acme-dir is required
My last idea was a faulty .htaccess, but, no, none of that.
At this point, I have ran out of ideas, at worst I’m turning SSL off for that website, it won’t be the end of the world. But, hey, maybe there’s a simple explanation out of this one.
Thank you very much if, by luck, you can help with a suggestion, an idea, or the official solution! (hey, one may always dream, huhu.)