Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Update letsencrypt.md #296

Merged
merged 1 commit into from
Apr 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion general/networking/letsencrypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Add a job to cron so the certificate will be renewed automatically.
After installing Certbot and the Nginx plugin with `sudo apt install certbot python3-certbot-nginx`, generate the certificate.

```sh
sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --email YOUR_EMAIL -d YOUR_DOMAIN
sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --email YOUR_EMAIL -d DOMAIN_NAME
```

Add the `--rsa-key-size 4096` parameter if you want a 4096 bit key instead.
Expand Down