Hi,
Like many others, I received the e-mail warning that I was using ACME TLS-SNI-01 domain validation, so I followed the instructions here to upgrade to the latest version of certbot (0.28.0 is what I now have, to be specific).
I also checked to make sure there were no preferred-challenges preferences set in any configuration files, which there weren’t, and I then ran:
sudo certbot renew --dry-run
to test that everything was working correctly. However, for some domains I see it using the http-01 challenge, and for other domains it’s continuing to use the tls-sni-01 challenge.
However, if I run:
sudo certbot renew --dry-run --preferred-challenges http-01,dns-01
then all domains use the http-01 challenge, so there doesn’t seem to be any reason that http-01 won’t work.
Is this something that will resolve itself automatically when tls-sni-01 renewals are disabled, or is there something in my configuration incorrectly telling certbot to use tls-sni-01 and will prevent automatic renewals after February 13th?
Here’s the configuration file for one of the affected domains:
# renew_before_expiry = 30 days
version = 0.22.2
archive_dir = /etc/letsencrypt/archive/telemetry.racecentres.com
cert = /etc/letsencrypt/live/telemetry.racecentres.com/cert.pem
privkey = /etc/letsencrypt/live/telemetry.racecentres.com/privkey.pem
chain = /etc/letsencrypt/live/telemetry.racecentres.com/chain.pem
fullchain = /etc/letsencrypt/live/telemetry.racecentres.com/fullchain.pem
# Options used in the renewal process
[renewalparams]
authenticator = nginx
installer = nginx
account = <removed>
Here’s the output from certbot when I don’t specify any preferred challenges:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/telemetry.racecentres.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for telemetry.racecentres.com
TLS-SNI-01 is deprecated, and will stop working soon.
Waiting for verification...
Cleaning up challenges
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new certificate deployed with reload of nginx server; fullchain is
/etc/letsencrypt/live/telemetry.racecentres.com/fullchain.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
And here’s the output from certbot when I tell it to prefer http-01:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/telemetry.racecentres.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for telemetry.racecentres.com
Waiting for verification...
Cleaning up challenges
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new certificate deployed with reload of nginx server; fullchain is
/etc/letsencrypt/live/telemetry.racecentres.com/fullchain.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I could change the cron job to specify the preferred challenges, but I’d prefer to avoid doing that unless I have to.
Apologies if this has been asked before, I had a search and couldn’t find anything quite the same.