Aggiorna README.md
This commit is contained in:
parent
f148ea63c7
commit
e6bdcefb6c
1 changed files with 15 additions and 1 deletions
16
README.md
16
README.md
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
```docker
|
```docker
|
||||||
sudo docker run -it alpine /bin/sh
|
sudo docker run -it alpine /bin/sh
|
||||||
```
|
```
|
||||||
|
@ -8,7 +7,22 @@ apk --no-cache upgrade
|
||||||
apk add --no-cache --virtual=run-deps certbot bash py3-pip pipx wget nano
|
apk add --no-cache --virtual=run-deps certbot bash py3-pip pipx wget nano
|
||||||
pipx install --include-deps certbot-dns-ionos
|
pipx install --include-deps certbot-dns-ionos
|
||||||
pipx ensurepath
|
pipx ensurepath
|
||||||
|
pipx install certbot-dns-ionos
|
||||||
|
mkdir -p /etc/letsencrypt/.secrets
|
||||||
|
chown root:root /etc/letsencrypt/.secrets
|
||||||
|
chmod 700 /etc/letsencrypt/.secrets
|
||||||
|
wget https://forgit.patachina.it/Fabio/certbot-dns-ionos/raw/branch/master/patachina.it.ini
|
||||||
|
sudo mv patachina.it.ini /etc/letsencrypt/.secrets
|
||||||
wget https://raw.githubusercontent.com/lazaroblanc/IONOS-DynDNS/main/ionos_dyndns.py
|
wget https://raw.githubusercontent.com/lazaroblanc/IONOS-DynDNS/main/ionos_dyndns.py
|
||||||
chmod +x ionos_dyndns.py
|
chmod +x ionos_dyndns.py
|
||||||
./ionos_dyndns.py -4 -H *.patachina.it --api-prefix 855b5080c2434ffc99f23fa20f09f0aa --api-secret bcD1lRr5af4UuXUGRSVTj-9uQxrxcj9GKcHo8D3xtaSducnWNxGx35XwqjXOwOSvTO7apFUjDWzbApUShMKPzA >> ionos_dyndns.log
|
./ionos_dyndns.py -4 -H *.patachina.it --api-prefix 855b5080c2434ffc99f23fa20f09f0aa --api-secret bcD1lRr5af4UuXUGRSVTj-9uQxrxcj9GKcHo8D3xtaSducnWNxGx35XwqjXOwOSvTO7apFUjDWzbApUShMKPzA >> ionos_dyndns.log
|
||||||
|
certbot certonly \
|
||||||
|
--authenticator dns-ionos \
|
||||||
|
--dns-ionos-credentials /etc/letsencrypt/.secrets/patachina.it.ini \
|
||||||
|
--dns-ionos-propagation-seconds 900 \
|
||||||
|
--server https://acme-v02.api.letsencrypt.org/directory \
|
||||||
|
--agree-tos \
|
||||||
|
--rsa-key-size 4096 \
|
||||||
|
-d 'patachina.it' \
|
||||||
|
-d '*.patachina.it'
|
||||||
```
|
```
|
Loading…
Reference in a new issue