User Tools

Site Tools


ssl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ssl [2021/01/24 16:18] – [7. Choose how you'd like to run Certbot] chifekssl [2023/09/14 06:06] (current) – external edit 127.0.0.1
Line 50: Line 50:
  
 <code>sudo certbot certonly --nginx</code> <code>sudo certbot certonly --nginx</code>
 +
 +
 +
 +
 +===== 8. Test automatic renewal =====
 +
 +The Certbot packages on your system come with a cron job or systemd timer that will renew your certificates automatically before they expire. You will not need to run Certbot again, unless you change your configuration. You can test automatic renewal for your certificates by running this command:
 +
 +<code>sudo certbot renew --dry-run</code>
 +The command to renew certbot is installed in one of the following locations:
 +<code>
 +/etc/crontab/
 +/etc/cron.*/*
 +systemctl list-timers
 +</code>
 +
 +===== 9.Confirm that Certbot worked =====
 +
 +To confirm that your site is set up properly, visit https://yourwebsite.com/ in your browser and look for the lock icon in the URL bar.
ssl.1611505105.txt.gz · Last modified: 2023/09/14 06:06 (external edit)