From 6eccb27db8e82d78302ae2ea116da269f0b78d87 Mon Sep 17 00:00:00 2001 From: Fabio Date: Wed, 5 Mar 2025 19:37:48 +0800 Subject: [PATCH] Aggiorna README.md --- README.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/README.md b/README.md index ed1d0f2..c6d0020 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,57 @@ # certbot-dns-ionos +In order to create a docker container with a certbot-dns-ionos installation, +create an empty directory with the following ``Dockerfile``: + +```docker +FROM certbot/certbot +RUN pip install certbot-dns-ionos +``` + +Proceed to build the image + +```docker +docker build -t certbot/dns-ionos . +``` +if not exit make dir and set as root to secure the folder + +```bash +mkdir -p /etc/letsencrypt/.secrets +chown root:root /etc/letsencrypt/.secrets +chmod 700 /etc/letsencrypt/.secrets +``` +insert the APY KEY of IONOS in patachina.it.ini and copy +```bash +sudo cp patachina.it.ini /etc/letsencrypt/.secrets +``` + +Once that's finished, the application can be run as follows:: + +```docker +docker run --rm \ +-v /var/lib/letsencrypt:/var/lib/letsencrypt \ +-v /etc/letsencrypt:/etc/letsencrypt \ +--cap-drop=all \ +certbot/dns-ionos certonly \ +--authenticator dns-ionos \ +--dns-ionos-propagation-seconds 900 \ +--dns-ionos-credentials \ +/etc/letsencrypt/.secrets/patachina.it.ini \ +--no-self-upgrade \ +--keep-until-expiring --non-interactive --expand \ +--server https://acme-v02.api.letsencrypt.org/directory \ +-d patachina.it -d '*.patachina.it' +``` + + + + + +The file 'domain.tld.ini' must be replaced with the version of the example 'credentials.ini' adapted to your provider. + + +## originale + [IONOS](https://www.ionos.de/) DNS Authenticator plugin for [Certbot](https://certbot.eff.org/) ![Ionos](https://www.ionos.co.uk/newsroom/wp-content/uploads/sites/7/2021/12/LOGO_IONOS_Blue_RGB-1.png)