Add or remove domain to existing Letsencrypt's cert
(1) Run the following command:
sudo certbot certonly --cert-name calvin.my -d calvin.my,www.calvin.my
Note that calvin.my highlighted in yellow is your original cert name. In this example, we added new www domain into the cert.
(2) Reload Nginx.
sudo service nginx restart
AI Summary
Chrome On-device AI
2024-10-04 22:23:35
Share Article