Comment 16 for bug 1837673

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

bionic verification

Verifying current version uses the v1 endpoint:
$ sudo certbot run
...
In bionic, for some reason (debug level?) the acme url is not shown in the normal output, so I checked the log at /var/log/letsencrypt/letsencrypt.log and there it was, v1 was used:

2019-10-25 21:15:35,657:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org

Now let's update to the packages in proposed:
 *** 0.27.0-1~ubuntu18.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 Packages

And run again:

$ sudo certbot run
(...)

This time the log shows v2 was used:
2019-10-25 21:22:33,050:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org

Testing fake renew also uses v02 and works:
$ sudo certbot --dry-run renew
(...)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)

Congratulations, all renewals succeeded. The following certs have been renewed:
  /etc/letsencrypt/live/certbot-test.justgohome.co.uk/fullchain.pem (success)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
(...)

Revoking:
$ sudo certbot revoke --cert-path /etc/letsencrypt/live/certbot-test.justgohome.co.uk/fullchain.pem
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you like to delete the cert(s) you just revoked?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es (recommended)/(N)o: y

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Deleted all files relating to certificate certbot-test.justgohome.co.uk.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations! You have successfully revoked the certificate that was located
at /etc/letsencrypt/live/certbot-test.justgohome.co.uk/fullchain.pem

Bionic verification succeeded.