Certbot 3.0 update

This commit is contained in:
DorianCoding 2024-10-17 07:54:10 +02:00
parent 0e93705e19
commit 894ec02c6a
No known key found for this signature in database
2 changed files with 10 additions and 12 deletions

View file

@ -2,7 +2,7 @@
IONOS DNS Authenticator plugin for Certbot IONOS DNS Authenticator plugin for Certbot
![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)
This plugin automates the process of completing a ``dns-01`` challenge by This plugin automates the process of completing a ``dns-01`` challenge by
creating, and subsequently removing, TXT records using the IONOS Remote API. creating, and subsequently removing, TXT records using the [IONOS Remote API](https://developer.hosting.ionos.com/docs/dns).
## Configuration of IONOS ## Configuration of IONOS
In the `System -> Remote Users` you have to have a user, with the following rights In the `System -> Remote Users` you have to have a user, with the following rights
- Client Functions - Client Functions
@ -13,6 +13,7 @@ In the `System -> Remote Users` you have to have a user, with the following righ
## Installation ## Installation
### Snap ### Snap
[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/certbot-dns-ionos) [![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/certbot-dns-ionos)
Snap version is compatible with certbot 3.0.
### Pip ### Pip
`pip install certbot-dns-ionos` `pip install certbot-dns-ionos`
## Named Arguments ## Named Arguments
@ -42,7 +43,8 @@ credentials to issue arbitrary API calls on your behalf. Users who can cause
Certbot to run using these credentials can complete a ``dns-01`` challenge to Certbot to run using these credentials can complete a ``dns-01`` challenge to
acquire new certificates or revoke existing certificates for associated acquire new certificates or revoke existing certificates for associated
domains, even if those domains aren't being managed by this server. domains, even if those domains aren't being managed by this server.
>
> [!WARNING]
> Certbot will emit a warning if it detects that the credentials file can be > Certbot will emit a warning if it detects that the credentials file can be
accessed by other users on your system. The warning reads "Unsafe permissions accessed by other users on your system. The warning reads "Unsafe permissions
on credentials configuration file", followed by the path to the credentials on credentials configuration file", followed by the path to the credentials
@ -98,6 +100,8 @@ chmod 700 /etc/letsencrypt/.secrets
``` ```
The file 'domain.tld.ini' must be replaced with the version of the example 'credentials.ini' adapted to your provider. The file 'domain.tld.ini' must be replaced with the version of the example 'credentials.ini' adapted to your provider.
## Changelog ## Changelog
* 2024.10.17
* Update for Certbot 3.0
* 2024.10.15 * 2024.10.15
* Update README.md, changed from README.rst * Update README.md, changed from README.rst
* Addition of a snap * Addition of a snap

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 = '20241015' version = '20241017'
install_requires = [ install_requires = [
"acme>=1.8.0", "acme>=1.8.0",
"certbot>=2.0.0", "certbot>=3.0.0",
"setuptools", "setuptools",
"requests", "requests",
"mock", "mock",
@ -29,7 +29,7 @@ setup(
author="Helge Erbe", author="Helge Erbe",
author_email="helge@erbehome.de", author_email="helge@erbehome.de",
license="Apache License 2.0", license="Apache License 2.0",
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", python_requires=">=3.12",
classifiers=[ classifiers=[
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Environment :: Plugins", "Environment :: Plugins",
@ -37,13 +37,7 @@ setup(
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux", "Operating System :: POSIX :: Linux",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 2", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP",
"Topic :: Security", "Topic :: Security",
"Topic :: System :: Installation/Setup", "Topic :: System :: Installation/Setup",