Let's Encrypt problem

2 posts / 0 new
Last post
#1 Tue, 04/30/2019 - 07:16
vpanos

Let's Encrypt problem

I try to install certificate but I have this message Request Certificate In domain bazaar.autos Requesting a certificate for bazaar.autos, www.bazaar.autos, autoconfig.bazaar.autos, autodiscover.bazaar.autos from Let's Encrypt .. .. request failed : Web-based validation failed :

Failed to request certificate : Traceback (most recent call last): File "/usr/libexec/webmin/webmin/acme_tiny.py", line 250, in main(sys.argv[1:]) File "/usr/libexec/webmin/webmin/acme_tiny.py", line 246, in main signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, args.dns_hook, args.cleanup_hook, log=LOGGER, CA=args.ca) File "/usr/libexec/webmin/webmin/acme_tiny.py", line 107, in get_crt "agreement": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf", File "/usr/libexec/webmin/webmin/acme_tiny.py", line 63, in _send_signed_request protected["nonce"] = urlopen(CA + "/directory").headers['Replay-Nonce'] File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python2.7/urllib2.py", line 431, in open response = self._open(req, data) File "/usr/lib64/python2.7/urllib2.py", line 449, in _open '_open', req) File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "/usr/lib64/python2.7/urllib2.py", line 1258, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/lib64/python2.7/urllib2.py", line 1214, in do_open raise URLError(err) urllib2.URLError: DNS-based validation failed : Failed to request certificate : Traceback (most recent call last): File "/usr/libexec/webmin/webmin/acme_tiny.py", line 250, in main(sys.argv[1:]) File "/usr/libexec/webmin/webmin/acme_tiny.py", line 246, in main signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, args.dns_hook, args.cleanup_hook, log=LOGGER, CA=args.ca) File "/usr/libexec/webmin/webmin/acme_tiny.py", line 107, in get_crt "agreement": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf", File "/usr/libexec/webmin/webmin/acme_tiny.py", line 63, in _send_signed_request protected["nonce"] = urlopen(CA + "/directory").headers['Replay-Nonce'] File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python2.7/urllib2.py", line 431, in open response = self._open(req, data) File "/usr/lib64/python2.7/urllib2.py", line 449, in _open '_open', req) File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "/usr/lib64/python2.7/urllib2.py", line 1258, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/lib64/python2.7/urllib2.py", line 1214, in do_open raise URLError(err) urllib2.URLError:

My system and VPS

Operating system CentOS Linux 7.6.1810 Webmin version 1.900 Usermin version 1.751 Virtualmin version 6.06 Kernel and CPU Linux 3.10.0-957.10.1.el7.x86_64 on x86_64 Processor information Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 6 cores Running processes 222 CPU load averages 1.04 (1 min) 0.41 (5 mins) 0.31 (15 mins) Real memory 2.54 GB used / 15.15 GB total Local disk space 35.73 GB used / 259.42 GB free / 295.15 GB total Package updates All installed packages are up to date

Tue, 04/30/2019 - 15:16
Glock24

I was having issues with Let's Encrypt certificates, you should check if there are no redirection loops (affects web validation). For me this was an issue with some domains.

But I has a couple of domains that no matter what failed verification, so I installed the certbot package and after requesting certificated using certbot, Virtualmin was able to request certificates too via control panel.

Topic locked