hello -
for a domain with a cert expiring tomorrow, currently the https.conf file looks like this:
SSLCertificateFile /home/domain.com/certs/domain_com.crt
SSLCertificateKeyFile /home/domain.com/certs/domain.com.PRIVATE_KEY.key
SSLCACertificateFile /home/domain.com/certs/domain_com.ca-bundle
when i ran certbot --apache certonly;
the following was returned to me:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/domain.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/domain.com/privkey.pem
i would like to start off simple and not modify the httpd.conf file if possible. so i am thinking the following commands might be run (example for the private key):
mv \
/home/domain.com/certs/domain.com.PRIVATE_KEY.key \
/home/domain.com/certs/domain.com.PRIVATE_KEY.key-RENAMED ;ln -s \
/etc/letsencrypt/live/domain.com/privkey.pem \
/home/domain.com/certs/domain.com.PRIVATE_KEY.key ;
but does the fullchain.pem file contain both the public and the chain? would i need to manually edit the fullchain.pem file and save it as a separate crt file and a ca-bundle file?
thank you very much.