I am running a self-managed remote Debian Stretch server. I'm not a tech guy, so I'm sorry if I'm asking basic stuff. I got today an e-mail from Let's Encrypt Staff saying:
Your Let’s Encrypt client used ACME TLS-SNI-01 domain validation to issue a certificate in the past 60 days.
I originally installed "certbot" using this command:
keeping current version of "certbot", but adding the parameter --preferred-challenges http-01,dns-01
I tried both of those solutions, but none worked:
there is no version 0.28.0+ of "python-certbot-apache" in the official Debian Stretch repositories:
apt-cache policy python-certbot-apache
python-certbot-apache:
Installed: 0.10.2-1
Candidate: 0.10.2-1
Version table:
*** 0.10.2-1 500
500 Index of /debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
the parameter --preferred-challenges with my current version of "certbot" gives the following error:
certbot renew --dry-run --preferred-challenges http-01,dns-01
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Cert not due for renewal, but simulating renewal for dry run
Renewing an existing certificate
Performing the following challenges:
Attempting to renew cert from /etc/letsencrypt/renewal/[MY-DOMAIN-HERE].conf produced an unexpected error: None of the preferred challenges are supported by the selected plugin. Skipping.
Can you help me please? My current Debian Stretch repositories are:
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
Thank you, merci beaucoup! The stretch-backports repository allowed me to upgrade “python-certbot-apache” to version 0.28.0. Here are the precise steps I used, in case there are other people like me running Debian Stretch:
Edit /etc/apt/sources.list and append line:
deb http://deb.debian.org/debian stretch-backports main
Run:
apt-get -y update
All backports are deactivated by default, so you need to install them manually. For example, to install “python-certbot-apache”: