Submitted by expressitech on Thu, 02/18/2021 - 06:23 Pro Licensee
Hello,
Since Letsencypt issuer changed to R3 the Autorenew is not working. The problem seems to be in /usr/libexec/webmin/virtual-server/feature-ssl.pl Function apply_letsencrypt_cert_renewals()
# Is the current cert even from Let's Encrypt?
next if ($info->{'issuer_cn'} !~ /Let's\s+Encrypt/i);
A possible fix:
# Is the current cert even from Let's Encrypt?
next if ($info->{'issuer_cn'} !~ /Let's\s+Encrypt/i && $info->{'issuer_cn'} !~ /R3/i);
Many thanks.
Status:
Active
Virtualmin version:
6.14
Webmin version:
1.962
Comments
Submitted by expressitech on Thu, 02/18/2021 - 06:30 Pro Licensee Comment #1
Hi,
Thanks for the heads up.
Jamie has already fixed this bug for upcoming Virtualmin 6.15.
Submitted by otis on Sat, 02/20/2021 - 08:49 Pro Licensee Comment #3
When will that fix be released? I've already been bitten by this bug twice and have other renewals coming up quite soon.
This should be fixed within next 10 days, as we release Virtualmin 6.15.
Submitted by wheeler on Mon, 02/22/2021 - 09:00 Comment #5
I'm starting to get a few R3 certificates expiring , a manual renewal seems to still work with 6.14. Great to see you have this patched for the 6.15 release.
In the mean time, is there a way to list all certificates by their expiry date, so that I can manually renew any which are expiring soon?
Submitted by wheeler on Mon, 02/22/2021 - 09:27 Comment #6
To answer my own question, this does exactly what I needed: