Comments on How to install Webmin and secure it with Let's Encrypt SSL on Ubuntu 20.04 LTS

Webmin is a free, open-source, and web-based application used for managing Linux-based systems. In this tutorial, we will show you how to install Webmin and secure it with Let's Encrypt SSL on Ubuntu 20.04 server.

6 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Chris

I don't know what i am doing wrong but i always get this Error:

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 106, in get_crt directory, _, _ = _do_request(directory_url, err_msg="Error getting directory") File "/usr/share/webmin/webmin/acme_tiny.py", line 46, in _do_request raise ValueError("{0}:\nUrl: {1}\nData: {2}\nResponse Code: {3}\nResponse: {4}".format(err_msg, url, data, code, resp_data)) ValueError: Error getting directory: Url: https://acme-v02.api.letsencrypt.org/directory Data: None Response Code: None Response: <urlopen error [Errno -3] Temporary failure in name resolution>

By: till

The server hostname that you used to get the Let's encrypt SSL certificate seems to not exist in DNS, this means that the Let's encrypt servers can't reach it to verify that you own that domains and the creation of the SSL cert fails, therefore.

By: gary

On your experience ,  change  include a depth knowledge, to

include an in depth knowledge

By: Oliver

I did it a lot of times before on non-webmin servers. The DNS data is correct but LE can't install a cert on webmin: 

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 isp01.mydomain.com Using the webroot path /var/webmin for all unmatched domains. Waiting for verification... Challenge failed for domain isp01.mydomain.com http-01 challenge for isp01.mydomain.com Cleaning up challenges Some challenges have failed. IMPORTANT NOTES: - The following errors were reported by the server: Domain: isp01.mydomain.com Type: unauthorized Detail: Invalid response from http://isp01.mydomain.com/.well-known/acme-challenge/74pkIa-... [176.xx.xxx.xxx]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"

I dont know why...

By: Emmanuel

Thanks for showing how to do it, I would have thought it was much more complicated!

By: Maria

Hello,

When requesting a certificate, the following error appears:

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.