Server - Contents

Certbot - Extras

revised: 22-Jun-2022

1. Updating the certificate: add first the new site to the Nginx server and running correctly under the usual http:// protocol. Then issue the following command (using your initial domain, replacing ‘example1.com’).

sammy@imega: sudo certbot renew --dry-run // if successful, repeat but drop the '--dry-run'.

2. Deleting the Certificate

sammy@imega: certbot delete --cert-name mywebsite.com

This removes the certificate and all relevant files from your letsencrypt config directory.

Certbot-SSL Certbot-Nginx