Changed to corenetworks

This commit is contained in:
Masin Al-Dujaili
2020-04-13 12:01:02 +02:00
parent 290db69589
commit f7aaab6bb0
2 changed files with 21 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ creating, and subsequently removing, TXT records using the Core Networks beta AP
Configuration of Core Networks Configuration of Core Networks
--------------------------- ---------------------------
In the `Allgemein -> Profil -> API-Benutze` you have to have a user with a login name and password In the `Allgemein -> Profil -> API-Benutzer` you have to have a user with a login name and password
.. _Core_Networks: https://beta.api.core-networks.de/doc/ .. _Core_Networks: https://beta.api.core-networks.de/doc/
.. _certbot: https://certbot.eff.org/ .. _certbot: https://certbot.eff.org/
@@ -25,16 +25,16 @@ Installation
Named Arguments Named Arguments
--------------- ---------------
To start using DNS authentication for ispconfig, pass the following arguments on To start using DNS authentication for Core Networks, pass the following arguments on
certbot's command line: certbot's command line:
============================================================= ============================================== ============================================================= ==============================================
``--authenticator certbot-dns-ispconfig:dns-ispconfig`` select the authenticator plugin (Required) ``--authenticator certbot-dns-corenetworks:dns-corenetworks`` select the authenticator plugin (Required)
``--certbot-dns-ispconfig:dns-ispconfig-credentials`` ispconfig Remote User credentials ``--certbot-dns-corenetworks:dns-corenetworks-credentials`` Core Networks Remote User credentials
INI file. (Required) INI file. (Required)
``--certbot-dns-ispconfig:dns-ispconfig-propagation-seconds`` | waiting time for DNS to propagate before asking ``--certbot-dns-corenetworks:dns-corenetworks-propagation-seconds`` | waiting time for DNS to propagate before asking
| the ACME server to verify the DNS record. | the ACME server to verify the DNS record.
| (Default: 10, Recommended: >= 600) | (Default: 10, Recommended: >= 600)
============================================================= ============================================== ============================================================= ==============================================
@@ -50,17 +50,17 @@ An example ``credentials.ini`` file:
.. code-block:: ini .. code-block:: ini
certbot_dns_ispconfig:dns_ispconfig_username = myremoteuser certbot_dns_corenetworks:dns_corenetworks_username = myremoteuser
certbot_dns_ispconfig:dns_ispconfig_password = verysecureremoteuserpassword certbot_dns_corenetworks:dns_corenetworks_password = verysecureremoteuserpassword
certbot_dns_ispconfig:dns_ispconfig_endpoint = https://localhost:8080/remote/json.php certbot_dns_corenetworks:dns_corenetworks_endpoint = https://localhost:8080/remote/json.php
The path to this file can be provided interactively or using the The path to this file can be provided interactively or using the
``--certbot-dns-ispconfig:dns-ispconfig-credentials`` command-line argument. Certbot ``--certbot-dns-corenetworks:dns-corenetworks-credentials`` command-line argument. Certbot
records the path to this file for use during renewal, but does not store the records the path to this file for use during renewal, but does not store the
file's contents. file's contents.
**CAUTION:** You should protect these API credentials as you would the **CAUTION:** You should protect these API credentials as you would the
password to your ispconfig account. Users who can read this file can use these password to your Core Networks account. Users who can read this file can use these
credentials to issue arbitrary API calls on your behalf. Users who can cause 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
@@ -83,9 +83,9 @@ To acquire a single certificate for both ``example.com`` and
.. code-block:: bash .. code-block:: bash
certbot certonly \ certbot certonly \
--authenticator certbot-dns-ispconfig:dns-ispconfig \ --authenticator certbot-dns-corenetworks:dns-corenetworks \
--certbot-dns-ispconfig:dns-ispconfig-credentials /etc/letsencrypt/.secrets/domain.tld.ini \ --certbot-dns-corenetworks:dns-corenetworks-credentials /etc/letsencrypt/.secrets/domain.tld.ini \
--certbot-dns-ispconfig:dns-ispconfig-propagation-seconds 900 \ --certbot-dns-corenetworks:dns-corenetworks-propagation-seconds 900 \
--server https://acme-v02.api.letsencrypt.org/directory \ --server https://acme-v02.api.letsencrypt.org/directory \
--agree-tos \ --agree-tos \
--rsa-key-size 4096 \ --rsa-key-size 4096 \

View File

@@ -10,6 +10,7 @@ install_requires = [
"requests", "requests",
"mock", "mock",
"requests-mock", "requests-mock",
"lexicon"
] ]
# read the contents of your README file # read the contents of your README file
@@ -20,14 +21,14 @@ with open(path.join(this_directory, "README.rst")) as f:
long_description = f.read() long_description = f.read()
setup( setup(
name="certbot-dns-ispconfig", name="certbot-dns-corenetworks",
version=version, version=version,
description="ispconfig DNS Authenticator plugin for Certbot", description="Core Networks 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/x-rst",
url="https://github.com/m42e/certbot-dns-ispconfig", url="https://github.com/MasinAD/certbot-dns-corenetworks",
author="Matthias Bilger", author="Masin Al-Dujaili",
author_email="matthias@bilger.info", author_email="masin.aldujaili@googlemail.com",
license="Apache License 2.0", license="Apache License 2.0",
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
classifiers=[ classifiers=[
@@ -56,8 +57,8 @@ setup(
install_requires=install_requires, install_requires=install_requires,
entry_points={ entry_points={
"certbot.plugins": [ "certbot.plugins": [
"dns-ispconfig = certbot_dns_ispconfig.dns_ispconfig:Authenticator" "dns-corenetworks = certbot_dns_corenetworks.dns_corenetworks:Authenticator"
] ]
}, },
test_suite="certbot_dns_ispconfig", test_suite="certbot_dns_corenetworks",
) )