Aggiorna README.md

This commit is contained in:
Fabio 2025-02-13 23:17:19 +08:00
parent c7bd01a9d2
commit 656f3fc3df

View file

@ -1,21 +1,29 @@
#MY USAGE # MY USAGE
installare installare certbot + plugin per nginx
```bash
sudo apt install certbot python3-certbot-nginx sudo apt install certbot python3-certbot-nginx
```
andare su scripts andare su scripts e rendere eseguibili i 2 script
```bash
sudo chmod +x *.sh sudo chmod +x *.sh
```
inserire in *.sh la API key di dynu.com inserire in *.sh la API key di dynu.com in questo caso
```bash
api_key='3465V4Va6732ZWf7b5V55gYg6ZU55W4Y'
```
entrare come root
```bash
sudo -s sudo -s
```
creare i 2 certificati
```bash
certbot certonly --manual-public-ip-logging-ok --non-interactive --agree-tos --email fabio.micheluz@gmail.com --manual --preferred-challenges=dns --manual-auth-hook ./script-pre.sh --manual-cleanup-hook ./script-post.sh -d patachina.casacam.net -d *.patachina.casacam.net certbot certonly --manual-public-ip-logging-ok --non-interactive --agree-tos --email fabio.micheluz@gmail.com --manual --preferred-challenges=dns --manual-auth-hook ./script-pre.sh --manual-cleanup-hook ./script-post.sh -d patachina.casacam.net -d *.patachina.casacam.net
certbot certonly --manual-public-ip-logging-ok --non-interactive --agree-tos --email fabio.micheluz@gmail.com --manual --preferred-challenges=dns --manual-auth-hook ./script-pre.sh --manual-cleanup-hook ./script-post.sh -d patachina2.casacam.net -d *.patachina2.casacam.net certbot certonly --manual-public-ip-logging-ok --non-interactive --agree-tos --email fabio.micheluz@gmail.com --manual --preferred-challenges=dns --manual-auth-hook ./script-pre.sh --manual-cleanup-hook ./script-post.sh -d patachina2.casacam.net -d *.patachina2.casacam.net
```
# GIT originale
This repository contains everything needed to create and renew LetsEncrypt certificates (incl. wildcard certificates) on Dynu (https://www.dynu.com/). This repository contains everything needed to create and renew LetsEncrypt certificates (incl. wildcard certificates) on Dynu (https://www.dynu.com/).
This should work on every machine that can run docker (I'm using it on a QNAP NAS). This should work on every machine that can run docker (I'm using it on a QNAP NAS).
If you already have certbot installed you can also just use the scripts in the scripts folder, without docker. If you already have certbot installed you can also just use the scripts in the scripts folder, without docker.