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 +```