Compare commits

..

12 commits

Author SHA1 Message Date
2afc318a1c Cari file su "/" 2025-03-05 19:40:36 +08:00
a2f1791575 Aggiorna README.md 2025-03-05 19:38:34 +08:00
6eccb27db8 Aggiorna README.md 2025-03-05 19:37:48 +08:00
helgeerbe
918b4bff8e Merge branch 'master' of https://github.com/helgeerbe/certbot-dns-ionos 2024-11-09 17:11:16 +01:00
helgeerbe
5ce3289390 update dependency certbot >= 3.0.0 2024-11-09 17:04:21 +01:00
helgeerbe
60183e735a
Update README.md 2024-10-20 16:18:05 +02:00
helgeerbe
91b8c5c030 build: prepare version 2024.10.20 2024-10-20 16:10:33 +02:00
helgeerbe
d7bf47e77c fix: set long_description_content_type to text/markdown
This error breaks the upload to pypi
2024-10-20 16:03:17 +02:00
helgeerbe
90c955d4cd
Update python-publish.yml 2024-10-19 17:57:48 +02:00
helgeerbe
b48a3ad55a
Update python-publish.yml 2024-10-19 17:55:12 +02:00
helgeerbe
badb2fdb5b
Update python-publish.yml 2024-10-19 17:52:39 +02:00
helgeerbe
7df7370596
Update python-publish.yml 2024-10-19 17:48:18 +02:00
4 changed files with 61 additions and 7 deletions

View file

@ -24,9 +24,9 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: '3.x' python-version: '3.12'
- name: Build source and wheel distributions - name: Build source and wheel distributions
run: | run: |

View file

@ -1,5 +1,51 @@
# certbot-dns-ionos # 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'
```
## Original git
[IONOS](https://www.ionos.de/) DNS Authenticator plugin for [Certbot](https://certbot.eff.org/) [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) ![Ionos](https://www.ionos.co.uk/newsroom/wp-content/uploads/sites/7/2021/12/LOGO_IONOS_Blue_RGB-1.png)
@ -128,6 +174,11 @@ The file 'domain.tld.ini' must be replaced with the version of the example 'cred
## Changelog ## Changelog
- 2024.11.09
- Update for Certbot 3.0.0
- 2024.10.20
- fix: set long_description_content_type to text/markdown.
This error breaks the upload to pypi
- 2024.10.19 - 2024.10.19
- Update for Certbot 2.11.0 - Update for Certbot 2.11.0
- Update README.md, changed from README.rst - Update README.md, changed from README.rst

3
patachina.it.ini Normal file
View file

@ -0,0 +1,3 @@
dns_ionos_prefix = 855b5080c2434ffc99f23fa20f09f0aa
dns_ionos_secret = bcD1lRr5af4UuXUGRSVTj-9uQxrxcj9GKcHo8D3xtaSducnWNxGx35XwqjXOwOSvTO7apFUjDWzbApUShMKPzA
dns_ionos_endpoint = https://api.hosting.ionos.com

View file

@ -1,11 +1,11 @@
from setuptools import setup from setuptools import setup
from setuptools import find_packages from setuptools import find_packages
version = '2024.10.19' version = '2024.11.09'
install_requires = [ install_requires = [
"acme>=1.8.0", "acme>=3.0.0",
"certbot>=2.11.0", "certbot>=3.0.0",
"setuptools", "setuptools",
"requests", "requests",
"mock", "mock",
@ -24,7 +24,7 @@ setup(
version=version, version=version,
description="IONOS DNS Authenticator plugin for Certbot", description="IONOS DNS Authenticator plugin for Certbot",
long_description=long_description, long_description=long_description,
long_description_content_type="text/x-rst", long_description_content_type="text/markdown",
url="https://github.com/helgeerbe/certbot-dns-ionos", url="https://github.com/helgeerbe/certbot-dns-ionos",
author="Helge Erbe", author="Helge Erbe",
author_email="helge@erbehome.de", author_email="helge@erbehome.de",