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-07-27 10:44:27

Share Article