From afafc633239c1bddb822726911b116e105f438e0 Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Thu, 22 Feb 2024 16:58:03 +0100 Subject: [PATCH] feat: add doc/certbot.md --- doc/certbot.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 doc/certbot.md diff --git a/doc/certbot.md b/doc/certbot.md new file mode 100644 index 0000000..f13d9ca --- /dev/null +++ b/doc/certbot.md @@ -0,0 +1,27 @@ +# Source + +[How To Secure Apache with Let's Encrypt on Debian 11](https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-debian-11) + +[Use Certbot to Enable HTTPS with Apache on Debian](https://www.linode.com/docs/guides/enabling-https-using-certbot-with-apache-on-debian/) + +[Certbot Instructions](https://certbot.eff.org/instructions?ws=apache&os=debianbuster) + +# Setup Certbot + +* remove certbot-auto and any Certbot OS packages +``` +sudo apt remove certbot +``` + +* install Certbot +``` +sudo apt install snapd --no-install-recommends +sudo snap install core +sudo snap refresh core +sudo snap install --classic certbot +``` + +* prepare the Certbot command +``` +sudo ln -s /snap/bin/certbot /usr/bin/certbot +```