My server: Ubuntu 18.04 LTS Apache/2.4.29 (Ubuntu)
Rackspace: shell access
Test Command I ran - an cerbot --apache generated certificate
certbot --dry-run --force-renewal renew --cert-name drjosephpengecir.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/drjosephpengecir.com.conf
Error running command [‘apache2ctl’, ‘-t’, ‘-D’, ‘DUMP_INCLUDES’] for runtime parameters!
- I believe the apache plugin is having a problem with my 490 domains.
- apache2ctl -t -D DUMP_INCLUDES | wc -c
shows this
AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 2001:4801:7820:75:be76:4eff:fe10:489f. Set the ‘ServerName’ directive globally to suppress this message
91738
is the word count, it is large
The cert I am testing with is /etc/letsencrypt/renewal/
renew_before_expiry = 30 days
version = 0.31.0
archive_dir = /etc/letsencrypt/archive/drjosephpengecir.com
cert = /etc/letsencrypt/live/drjosephpengecir.com/cert.pem
privkey = /etc/letsencrypt/live/drjosephpengecir.com/privkey.pem
chain = /etc/letsencrypt/live/drjosephpengecir.com/chain.pem
fullchain = /etc/letsencrypt/live/drjosephpengecir.com/fullchain.pem
Options used in the renewal process
[renewalparams]
account = 51759ba3dccb8494b190da63f954a1f3
authenticator = apache
installer = apache
server = https://acme-v02.api.letsencrypt.org/directory
Note - I had issues with the apache plugin after requesting 250 certificates
So I switched to the webroot plugin
I tested a cert generated with the webroot plugin
certbot --dry-run --force-renewal renew --cert-name drlawrencedavisonline.com
- 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:
renew_before_expiry = 30 days
version = 0.31.0
archive_dir = /etc/letsencrypt/archive/drlawrencedavisonline.com
cert = /etc/letsencrypt/live/drlawrencedavisonline.com/cert.pem
privkey = /etc/letsencrypt/live/drlawrencedavisonline.com/privkey.pem
chain = /etc/letsencrypt/live/drlawrencedavisonline.com/chain.pem
fullchain = /etc/letsencrypt/live/drlawrencedavisonline.com/fullchain.pem
Options used in the renewal process
[renewalparams]
account = 51759ba3dccb8494b190da63f954a1f3
authenticator = webroot
webroot_path = /var/www/html,
server = https://acme-v02.api.letsencrypt.org/directory
[[webroot_map]]
drlawrencedavisonline.com = /var/www/html
www.drlawrencedavisonline.com = /var/www/html
Does anybody see a problem if I change the renewal files under /etc/letsencrypt/renewal/ and switch the failing apache ones to the same format as the succeeding webroot ones? The documentation basically says, do not change anything. Certbot expects things to be like it created them. Or in other words, are there dependencies in the renewal process that rely on data saved by the certbot plugin used for the request?