Compare commits
12 commits
2024.10.19
...
master
Author | SHA1 | Date | |
---|---|---|---|
2afc318a1c | |||
a2f1791575 | |||
6eccb27db8 | |||
![]() |
918b4bff8e | ||
![]() |
5ce3289390 | ||
![]() |
60183e735a | ||
![]() |
91b8c5c030 | ||
![]() |
d7bf47e77c | ||
![]() |
90c955d4cd | ||
![]() |
b48a3ad55a | ||
![]() |
badb2fdb5b | ||
![]() |
7df7370596 |
4 changed files with 61 additions and 7 deletions
4
.github/workflows/python-publish.yml
vendored
4
.github/workflows/python-publish.yml
vendored
|
@ -24,9 +24,9 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: '3.12'
|
||||
|
||||
- name: Build source and wheel distributions
|
||||
run: |
|
||||
|
|
53
README.md
53
README.md
|
@ -1,5 +1,51 @@
|
|||
# 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/)
|
||||
|
||||

|
||||
|
@ -128,6 +174,11 @@ The file 'domain.tld.ini' must be replaced with the version of the example 'cred
|
|||
|
||||
## 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
|
||||
- Update for Certbot 2.11.0
|
||||
- Update README.md, changed from README.rst
|
||||
|
@ -153,4 +204,4 @@ The file 'domain.tld.ini' must be replaced with the version of the example 'cred
|
|||
|
||||
It's important to note that this plugin targets [IONOS Developer DNS API](https://developer.hosting.ionos.com/docs/dns>).
|
||||
If you are using IONOS [Cloud DNS service](https://cloud.ionos.com/network/cloud-dns>),
|
||||
there is a different plugin provided by IONOS: <https://github.com/ionos-cloud/certbot-dns-ionos-cloud>
|
||||
there is a different plugin provided by IONOS: <https://github.com/ionos-cloud/certbot-dns-ionos-cloud>
|
||||
|
|
3
patachina.it.ini
Normal file
3
patachina.it.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
dns_ionos_prefix = 855b5080c2434ffc99f23fa20f09f0aa
|
||||
dns_ionos_secret = bcD1lRr5af4UuXUGRSVTj-9uQxrxcj9GKcHo8D3xtaSducnWNxGx35XwqjXOwOSvTO7apFUjDWzbApUShMKPzA
|
||||
dns_ionos_endpoint = https://api.hosting.ionos.com
|
8
setup.py
8
setup.py
|
@ -1,11 +1,11 @@
|
|||
from setuptools import setup
|
||||
from setuptools import find_packages
|
||||
|
||||
version = '2024.10.19'
|
||||
version = '2024.11.09'
|
||||
|
||||
install_requires = [
|
||||
"acme>=1.8.0",
|
||||
"certbot>=2.11.0",
|
||||
"acme>=3.0.0",
|
||||
"certbot>=3.0.0",
|
||||
"setuptools",
|
||||
"requests",
|
||||
"mock",
|
||||
|
@ -24,7 +24,7 @@ setup(
|
|||
version=version,
|
||||
description="IONOS DNS Authenticator plugin for Certbot",
|
||||
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",
|
||||
author="Helge Erbe",
|
||||
author_email="helge@erbehome.de",
|
||||
|
|
Loading…
Reference in a new issue