ssl
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ssl [2021/01/24 16:17] – chifek | ssl [2023/09/14 06:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 38: | Line 38: | ||
| < | < | ||
| + | |||
| + | ===== 7. Choose how you'd like to run Certbot ===== | ||
| + | |||
| + | Either get and install your certificates... | ||
| + | Run this command to get a certificate and have Certbot edit your Nginx configuration automatically to serve it, turning on HTTPS access in a single step. | ||
| + | |||
| + | < | ||
| + | ==== Or, just get a certificate ==== | ||
| + | |||
| + | If you're feeling more conservative and would like to make the changes to your Nginx configuration by hand, run this command. | ||
| + | |||
| + | < | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== 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: | ||
| + | |||
| + | < | ||
| + | The command to renew certbot is installed in one of the following locations: | ||
| + | < | ||
| + | / | ||
| + | / | ||
| + | systemctl list-timers | ||
| + | </ | ||
| + | |||
| + | ===== 9.Confirm that Certbot worked ===== | ||
| + | |||
| + | To confirm that your site is set up properly, visit https:// | ||
ssl.1611505020.txt.gz · Last modified: 2023/09/14 06:06 (external edit)