Comment 18 for bug 1893274

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Testing the test instructions:

Without the fix this indeed fails
Note: You can run it with --verbose to see the issue in more detail if needed.

Plugins selected: Authenticator apache, Installer apache
Attempting to renew cert (cb-test-bionic.dd-dns.de) from
 /etc/letsencrypt/renewal/cb-test-bionic.dd-dns.de.conf produced an
 unexpected error: Account at /etc/letsencrypt/accounts/acme-v01.api.
 letsencrypt.org/directory/<hash> does not exist. Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/cb-test-bionic.dd-dns.de/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/cb-test-bionic.dd-dns.de/fullchain.pem (failure)

Install the fix (from -proposed eventually).
Upgrade works fine.

Running renewal again with the fix works:

$ sudo certbot renew --force-renewal
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/cb-test-focal.dd-dns.de.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Using server https://acme-v02.api.letsencrypt.org/directory instead of legacy https://acme-v01.api.letsencrypt.org/directory
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new certificate deployed with reload of apache server; fullchain is
/etc/letsencrypt/live/cb-test-focal.dd-dns.de/fullchain.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations, all renewals succeeded. The following certs have been renewed:
  /etc/letsencrypt/live/cb-test-focal.dd-dns.de/fullchain.pem (success)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

We can see the expected avme-v2 redirection message \o/
And renewal worked.

$ sudo certbot certificates
Before
    Expiry Date: 2021-02-03 13:11:37+00:00 (VALID: 89 days)
Now
    Expiry Date: 2021-02-03 13:24:49+00:00 (VALID: 89 days)