Compare commits
No commits in common. "master" and "2024.10.19" have entirely different histories.
master
...
2024.10.19
4 changed files with 7 additions and 61 deletions
4
.github/workflows/python-publish.yml
vendored
4
.github/workflows/python-publish.yml
vendored
|
@ -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@v5
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Build source and wheel distributions
|
- name: Build source and wheel distributions
|
||||||
run: |
|
run: |
|
||||||
|
|
51
README.md
51
README.md
|
@ -1,51 +1,5 @@
|
||||||
# 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/)
|
||||||
|
|
||||||

|

|
||||||
|
@ -174,11 +128,6 @@ 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
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
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 setup
|
||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
version = '2024.11.09'
|
version = '2024.10.19'
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
"acme>=3.0.0",
|
"acme>=1.8.0",
|
||||||
"certbot>=3.0.0",
|
"certbot>=2.11.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/markdown",
|
long_description_content_type="text/x-rst",
|
||||||
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",
|
||||||
|
|
Loading…
Reference in a new issue