requesting ssl using let's crypt failed

Im trying to add ssl using Let's crypt but when i request certificate it gives following error:

Requesting a certificate for affordablephpdeveloper.com, www.affordablephpdeveloper.com from Let's Encrypt .. .. request failed : Web-based validation failed : Failed to request certificate : Parsing account key... Parsing CSR... Registering account... Traceback (most recent call last): File "/usr/libexec/webmin/webmin/acme_tiny.py", line 235, in main(sys.argv[1:]) File "/usr/libexec/webmin/webmin/acme_tiny.py", line 231, 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 106, in get_crt raise ValueError("Error registering: {0} {1}".format(code, result)) ValueError: Error registering: 403 { "type": "urn:acme:error:unauthorized", "detail": "Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details.", "status": 403 } DNS-based validation failed : Failed to request certificate : Parsing account key... Parsing CSR... Registering account... Traceback (most recent call last): File "/usr/libexec/webmin/webmin/acme_tiny.py", line 235, in main(sys.argv[1:]) File "/usr/libexec/webmin/webmin/acme_tiny.py", line 231, 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 106, in get_crt raise ValueError("Error registering: {0} {1}".format(code, result)) ValueError: Error registering: 403 { "type": "urn:acme:error:unauthorized", "detail": "Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details.", "status": 403 }

Status: 
Closed (fixed)
Virtualmin version: 
6.01
Webmin version: 
1.860

Comments

Ilia's picture
Submitted by Ilia on Wed, 12/23/2020 - 15:45

Hi,

We suggest to do the following:

  1. Upgrade your Webmin to the latest 1.962
  2. Upgrade your Virtualmin to the latest 6.14
  3. Install certbot package to perform Let's Encrypt certificate requests correctly (there was a bug in the current Webmin version, which will only is going to be fixed on the future releases).

If you cannot see upgrades, when you're running yum update, then check and tweak your /etc/yum.repos.d/virtualmin.repo file to look as follows:

[virtualmin]
name=RHEL/CentOS $releasever - $basearch - Virtualmin
baseurl=http://software.virtualmin.com/vm/6/gpl/centos/$releasever/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-6
gpgcheck=1

[virtualmin-universal]
name=Virtualmin Distribution Neutral Packages
baseurl=http://software.virtualmin.com/vm/6/gpl/universal/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-6
gpgcheck=1

It looks like you're using Virtualmin GPL there though, and the area here is for folks using Virtualmin Pro. It's no problem to get support on our Community Forums, which we keep an eye on as well.