Removed mklink for git
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
---
|
||||
type: "topic"
|
||||
created: "2024-01-06T01:25:36.083Z"
|
||||
updated: "2024-01-06T01:25:36.083Z"
|
||||
updated: "2024-06-17T18:32:54.221Z"
|
||||
---
|
||||
|
||||
# certbot
|
||||
@ -106,3 +106,21 @@ ufw allow from 0.0.0.0/0 to any port 8080 comment "24) acme-challenge"
|
||||
cp /var/log/letsencrypt/letsencrypt.log /home/vscode/Notes
|
||||
certbot --non-interactive --redirect --agree-tos --nginx -d phares3757.ddns.net -m mikepharesjr@msn.com
|
||||
```
|
||||
|
||||
```bash Thu Jun 13 2024 16:27:03 GMT-0700 (Mountain Standard Time)
|
||||
# https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
|
||||
apt-get remove certbot -y
|
||||
snap install --classic certbot
|
||||
ln -s /snap/bin/certbot /usr/bin/certbot
|
||||
mkdir -p /var/www/certbot/.well-known/acme-challenge
|
||||
touch /var/www/certbot/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
|
||||
# certbot --nginx
|
||||
certbot certonly --nginx
|
||||
# always pick phares3757 first!
|
||||
# http://immich3757.ddns.net/.well-known/acme-challenge/smwqgmeNx04tA3HC05I8_gtpqLTkjRAotHdfp0E5LnM
|
||||
systemctl list-timers
|
||||
# /etc/crontab/
|
||||
# /etc/cron.*/*
|
||||
certbot renew --dry-run
|
||||
# https://www.f5.com/company/blog/nginx/using-free-ssltls-certificates-from-lets-encrypt-with-nginx
|
||||
```
|
||||
|
Reference in New Issue
Block a user