- In case a certificate is renewed before expiry, what happens to the old copy of the certificate? Can it still be used till it expires?
- If I move the directories under /etc/letsencrypt/ to say, /home/centos/LE how do I make certbot renew certificates from the new directory? I tried following command:
sudo certbot certonly --cert-path /home/centos/LE/live/cert.pem -n --force-renewal --standalone -d bg.ssldemo.xyz --standalone-supported-challenges http-01
This renewed the certificate but put it under /etc/letsecrypt/live/ instead of /home/centos/LE/live
The bg.ssldemo.xyz.conf file under the /home/centos/LE/renewal directory had the correct entries pointing to entries under /home/centos/LE/live/cert.pem and other files.