When I do a dry run of a renewal, it appears to skip the HTTP-01 challenge, but I specifically want it to run the challenge because I'm trying to test a pre-hook script I wrote.
The certificate was renewed recently without any problems, and the HTTP-01 challenge worked correctly, so it's not due for renewal.
Is there an option to force it to run the challenge again?
I ran this command:
certbot-auto renew --dry-run
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/mydomain.com.conf
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/mydomain.com/fullchain.pem
** 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/mydomain.com/fullchain.pem (success)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
My web server is:
Apache 2.2.34
My operating system is:
Amazon Linux AMI release 2018.03 on a Linux EC2 instance.
My hosting provider is:
Amazon Web Services
The version of my client is:
0.37.0