feat: add doc/certbot.md

This commit is contained in:
dancingCycle 2024-02-22 16:58:03 +01:00
parent b098c0d659
commit afafc63323
1 changed files with 27 additions and 0 deletions

27
doc/certbot.md Normal file
View File

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