diff options
author | Ivan Davydov <lotigara@lotigara.ru> | 2024-12-18 21:17:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 21:17:23 +0300 |
commit | ac0c8382bdee2caa007d41c71bfe55d100e3ced3 (patch) | |
tree | 5219156de30b14b9d33c2361b693b733c700ba36 /get-cert.sh | |
parent | b113c10f95662b29e402b4b10c643ebe7a3238b8 (diff) |
Switch to certbot from APT
Diffstat (limited to 'get-cert.sh')
-rwxr-xr-x | get-cert.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/get-cert.sh b/get-cert.sh index 927f484..a5b9f81 100755 --- a/get-cert.sh +++ b/get-cert.sh @@ -1,9 +1,7 @@ # Setup TLS with certbot and Let's Encrypt # https://certbot.eff.org/ -sudo snap install core; sudo snap refresh core -sudo snap install --classic certbot -sudo ln -s /snap/bin/certbot /usr/bin/certbot +sudo apt install certbot python3-certbot-nginx sudo certbot --nginx sudo certbot renew --dry-run |