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.
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 bionic. dd-dns. de) from pt/renewal/ cb-test- bionic. dd-dns. de.conf produced an t/accounts/ acme-v01. api. org/directory/ <hash> does not exist. Skipping. letsencrypt/ live/cb- test-bionic. dd-dns. de/fullchain. pem (failure) letsencrypt/ live/cb- test-bionic. dd-dns. de/fullchain. pem (failure)
Attempting to renew cert (cb-test-
/etc/letsencry
unexpected error: Account at /etc/letsencryp
letsencrypt.
All renewal attempts failed. The following certs could not be renewed:
/etc/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All renewal attempts failed. The following certs could not be renewed:
/etc/
Install the fix (from -proposed eventually).
Upgrade works fine.
Running renewal again with the fix works:
$ sudo certbot renew --force-renewal letsencrypt/ letsencrypt. log t/renewal/ cb-test- focal.dd- dns.de. conf /acme-v02. api.letsencrypt .org/directory instead of legacy https:/ /acme-v01. api.letsencrypt .org/directory t/live/ cb-test- focal.dd- dns.de/ fullchain. pem letsencrypt/ live/cb- test-focal. dd-dns. de/fullchain. pem (success)
Saving debug log to /var/log/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencryp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Using server https:/
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new certificate deployed with reload of apache server; fullchain is
/etc/letsencryp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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)