feat: add doc/certbot.md
This commit is contained in:
parent
b098c0d659
commit
afafc63323
|
@ -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
|
||||||
|
```
|
Loading…
Reference in New Issue