dokgu
December 30, 2021, 8:05pm
22
Awesome! This worked!
A few questions before I let this issue rest.
What's my process for adding a third or a fourth subdomain? Just create another .conf
file along with the others and then run sudo a2ensite sub.charkath.com.conf
then run sudo certbot --apache -d "sub.charkath.com,www.sub.charkath.com"
?
Also will this automatically renew the certificates?
3 Likes
griffin
December 30, 2021, 8:09pm
23
Yep.
Remember to run sudo apachectl -k graceful
after running a2ensite
.
Absolutely.
You can remove your compound certificate to keep it from interfering with your renewals if you wish.
Run this and note the name of the certificate to be removed:
sudo certbot certificates
Run this to properly delete a certificate named NAME:
sudo certbot delete --cert-name NAME
You can test your renewals with:
sudo certbot renew --dry-run
3 Likes
dokgu
December 30, 2021, 8:12pm
24
Thank you.. everything looks good now!
4 Likes
griffin
December 30, 2021, 8:14pm
25
You are quite welcome!
Be sure to heed the remembrance I just added to my previous post.
4 Likes
system
Closed
February 5, 2022, 6:48pm
27
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.