Hi guys,
I have taken over a webserver that hosts almost 100+ websites.
But seems the certificate installation has issues.
When I run
certbot renew --dry-run
It shows:
Processing /etc/letsencrypt/renewal/a.com.conf
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator standalone, Installer apache
Running pre-hook command: service apache2 stop
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for a.com
http-01 challenge for b.sg
http-01 challenge for c.com
http-01 challenge for d.com
http-01 challenge for e.com.sg
.... 100+ sites
http-01 challenge for z.com
Seems all of the domains are on a chain. Then here is the renew configuration file:
$:/etc/letsencrypt/renewal$ cat a.conf
renew_before_expiry = 30 days
version = 0.31.0
archive_dir = /etc/letsencrypt/archive/a.com
cert = /etc/letsencrypt/live/a.com/cert.pem
privkey = /etc/letsencrypt/live/aa.com/privkey.pem
chain = /etc/letsencrypt/live/a.com/chain.pem
fullchain = /etc/letsencrypt/live/a.com/fullchain.pem
Options used in the renewal process
[renewalparams]
account = s3gha
server = https://acme-v02.api.letsencrypt.org/directory
authenticator = standalone
installer = apache
pre_hook = service apache2 stop
post_hook = service apache2 start
Somehow it shows a standalone authenticator (should be apache) and there is only 1 renewal configuration file.
Here below is the cert information:
openssl crl2pkcs7 -nocrl -certfile fullchain4.pem | openssl pkcs7 -print_certs -text -noout
Certificate:
Data:
Version: 3 (0x2)
...
Authority Information Access:
OCSP - URI:http://r3.o.lencr.org
CA Issuers - URI:http://r3.i.lencr.org/
X509v3 Subject Alternative Name:
DNS:a.com, DNS:b.com, DNS:c.com,...
Here is the question, if one of 100+ domains has an issue then the renew will terminal. and as I know it should not stop apache during the renew, also, one domain should have its separate configuration file and cert file.
How can I improve it?
Thanks for your help and Merry Christmas!