certbot-dns-netangels


Namecertbot-dns-netangels JSON
Version 0.0.3 PyPI version JSON
download
home_pageNone
SummaryNetangels DNS Authenticator plugin for Certbot
upload_time2025-01-30 09:21:23
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseApache License 2.0
keywords authenticator certbot dns netangels plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            certbot-dns-netangels
=====================

Netangels_ DNS Authenticator plugin for Certbot

This plugin automates the process of completing a ``dns-01`` challenge by
creating, and subsequently removing, TXT records using the Netangels Remote API.

Configuration of Netangels
--------------------------

In the `System -> Remote Users` you have to have a user, with the following rights:

- Client Functions
- DNS zone functions
- DNS txt functions

.. _Netangels: https://www.netangels.ru/
.. _certbot: https://certbot.eff.org/

Installation
------------

.. code-block:: bash

    pip install certbot-dns-netangels

Named Arguments
---------------

To start using DNS authentication for netangels, pass the following arguments on
certbot's command line:

.. list-table::
   :header-rows: 1

   * - Argument
     - Description
   * - ``--authenticator dns-netangels``
     - select the authenticator plugin (Required)
   * - ``--dns-netangels-credentials``
     - netangels Remote User credentials INI file. (Required)
   * - ``--dns-netangels-propagation-seconds``
     - waiting time for DNS to propagate before asking the ACME server to verify the DNS record. (Default: 120, Recommended: >= 600)

Credentials
-----------

An example ``credentials.ini`` file:

.. code-block:: ini

    dns_netangels_panelurl = https://panel.netangels.ru/api/gateway/token/
    dns_netangels_apiurl = https://api-ms.netangels.ru/api/v1
    dns_netangels_apikey = verysecureremoteuserpassword


The path to this file can be provided interactively or using the
``--dns-netangels-credentials`` command-line argument. Certbot
records the path to this file for use during renewal, but does not store the
file's contents.

**CAUTION:** You should protect these API credentials as you would the
password to your netangels account. Users who can read this file can use these
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
acquire new certificates or revoke existing certificates for associated
domains, even if those domains aren't being managed by this server.

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
on credentials configuration file", followed by the path to the credentials
file. This warning will be emitted each time Certbot uses the credentials file,
including for renewal, and cannot be silenced except by addressing the issue
(e.g., by using a command like ``chmod 600`` to restrict access to the file).


Examples
--------

To acquire a single certificate for both ``example.com`` and
``*.example.com``, waiting 900 seconds for DNS propagation:

.. code-block:: bash

  certbot certonly \
    --authenticator dns-netangels \
    --dns-netangels-credentials /etc/letsencrypt/.secrets/domain.tld.ini \
    --dns-netangels-propagation-seconds 900 \
    --server https://acme-v02.api.letsencrypt.org/directory \
    --agree-tos \
    --rsa-key-size 4096 \
    -d 'example.com' \
    -d '*.example.com'

Docker
------

In order to create a docker container with a certbot-dns-netangels installation,
create an empty directory with the following ``Dockerfile``:

.. code-block:: docker

    FROM certbot/certbot
    RUN pip install certbot-dns-netangels

Proceed to build the image::

    docker build -t certbot/dns-netangels .

Once that's finished, the application can be run as follows::

    docker run --rm \
       -v /var/lib/letsencrypt:/var/lib/letsencrypt \
       -v /etc/letsencrypt:/etc/letsencrypt \
       --cap-drop=all \
       certbot/dns-netangels certonly \
       --authenticator dns-netangels \
       --dns-netangels-propagation-seconds 900 \
       --dns-netangels-credentials \
           /etc/letsencrypt/.secrets/domain.tld.ini \
       --no-self-upgrade \
       --keep-until-expiring --non-interactive --expand \
       --server https://acme-v02.api.letsencrypt.org/directory \
       -d example.com -d '*.example.com'

It is suggested to secure the folder as follows::
chown root:root /etc/letsencrypt/.secrets

chown root:root /etc/letsencrypt/.secrets
chmod 600 /etc/letsencrypt/.secrets

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "certbot-dns-netangels",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "authenticator, certbot, dns, netangels, plugin",
    "author": null,
    "author_email": "Maksimov Denis <maximden@mail.ru>",
    "download_url": "https://files.pythonhosted.org/packages/9f/be/5fa176a87db0d1dcc58cf0b388a3c46eb59ff2ed38f0fe247c8c8d1cc8d9/certbot_dns_netangels-0.0.3.tar.gz",
    "platform": null,
    "description": "certbot-dns-netangels\n=====================\n\nNetangels_ DNS Authenticator plugin for Certbot\n\nThis plugin automates the process of completing a ``dns-01`` challenge by\ncreating, and subsequently removing, TXT records using the Netangels Remote API.\n\nConfiguration of Netangels\n--------------------------\n\nIn the `System -> Remote Users` you have to have a user, with the following rights:\n\n- Client Functions\n- DNS zone functions\n- DNS txt functions\n\n.. _Netangels: https://www.netangels.ru/\n.. _certbot: https://certbot.eff.org/\n\nInstallation\n------------\n\n.. code-block:: bash\n\n    pip install certbot-dns-netangels\n\nNamed Arguments\n---------------\n\nTo start using DNS authentication for netangels, pass the following arguments on\ncertbot's command line:\n\n.. list-table::\n   :header-rows: 1\n\n   * - Argument\n     - Description\n   * - ``--authenticator dns-netangels``\n     - select the authenticator plugin (Required)\n   * - ``--dns-netangels-credentials``\n     - netangels Remote User credentials INI file. (Required)\n   * - ``--dns-netangels-propagation-seconds``\n     - waiting time for DNS to propagate before asking the ACME server to verify the DNS record. (Default: 120, Recommended: >= 600)\n\nCredentials\n-----------\n\nAn example ``credentials.ini`` file:\n\n.. code-block:: ini\n\n    dns_netangels_panelurl = https://panel.netangels.ru/api/gateway/token/\n    dns_netangels_apiurl = https://api-ms.netangels.ru/api/v1\n    dns_netangels_apikey = verysecureremoteuserpassword\n\n\nThe path to this file can be provided interactively or using the\n``--dns-netangels-credentials`` command-line argument. Certbot\nrecords the path to this file for use during renewal, but does not store the\nfile's contents.\n\n**CAUTION:** You should protect these API credentials as you would the\npassword to your netangels account. Users who can read this file can use these\ncredentials to issue arbitrary API calls on your behalf. Users who can cause\nCertbot to run using these credentials can complete a ``dns-01`` challenge to\nacquire new certificates or revoke existing certificates for associated\ndomains, even if those domains aren't being managed by this server.\n\nCertbot will emit a warning if it detects that the credentials file can be\naccessed by other users on your system. The warning reads \"Unsafe permissions\non credentials configuration file\", followed by the path to the credentials\nfile. This warning will be emitted each time Certbot uses the credentials file,\nincluding for renewal, and cannot be silenced except by addressing the issue\n(e.g., by using a command like ``chmod 600`` to restrict access to the file).\n\n\nExamples\n--------\n\nTo acquire a single certificate for both ``example.com`` and\n``*.example.com``, waiting 900 seconds for DNS propagation:\n\n.. code-block:: bash\n\n  certbot certonly \\\n    --authenticator dns-netangels \\\n    --dns-netangels-credentials /etc/letsencrypt/.secrets/domain.tld.ini \\\n    --dns-netangels-propagation-seconds 900 \\\n    --server https://acme-v02.api.letsencrypt.org/directory \\\n    --agree-tos \\\n    --rsa-key-size 4096 \\\n    -d 'example.com' \\\n    -d '*.example.com'\n\nDocker\n------\n\nIn order to create a docker container with a certbot-dns-netangels installation,\ncreate an empty directory with the following ``Dockerfile``:\n\n.. code-block:: docker\n\n    FROM certbot/certbot\n    RUN pip install certbot-dns-netangels\n\nProceed to build the image::\n\n    docker build -t certbot/dns-netangels .\n\nOnce that's finished, the application can be run as follows::\n\n    docker run --rm \\\n       -v /var/lib/letsencrypt:/var/lib/letsencrypt \\\n       -v /etc/letsencrypt:/etc/letsencrypt \\\n       --cap-drop=all \\\n       certbot/dns-netangels certonly \\\n       --authenticator dns-netangels \\\n       --dns-netangels-propagation-seconds 900 \\\n       --dns-netangels-credentials \\\n           /etc/letsencrypt/.secrets/domain.tld.ini \\\n       --no-self-upgrade \\\n       --keep-until-expiring --non-interactive --expand \\\n       --server https://acme-v02.api.letsencrypt.org/directory \\\n       -d example.com -d '*.example.com'\n\nIt is suggested to secure the folder as follows::\nchown root:root /etc/letsencrypt/.secrets\n\nchown root:root /etc/letsencrypt/.secrets\nchmod 600 /etc/letsencrypt/.secrets\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Netangels DNS Authenticator plugin for Certbot",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/navigatore300/certbot-dns-netangels"
    },
    "split_keywords": [
        "authenticator",
        " certbot",
        " dns",
        " netangels",
        " plugin"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7e9eb18422bc039f2f024330f1c7039e97cd95ca38bcbc28987186041ab359de",
                "md5": "6a0bd43c5afbdd4c6576bef60b0ebb59",
                "sha256": "dc39aaddfc798018a4966733b8cd56bf8fdc95d65c1bfce1901d773b4818567d"
            },
            "downloads": -1,
            "filename": "certbot_dns_netangels-0.0.3-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6a0bd43c5afbdd4c6576bef60b0ebb59",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 11694,
            "upload_time": "2025-01-30T09:21:21",
            "upload_time_iso_8601": "2025-01-30T09:21:21.311083Z",
            "url": "https://files.pythonhosted.org/packages/7e/9e/b18422bc039f2f024330f1c7039e97cd95ca38bcbc28987186041ab359de/certbot_dns_netangels-0.0.3-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9fbe5fa176a87db0d1dcc58cf0b388a3c46eb59ff2ed38f0fe247c8c8d1cc8d9",
                "md5": "64e5cd48f80e847a88499d1ebe1a7582",
                "sha256": "382b0bb49f9cf6d3def7a4f4fb16e42f22ae5d919a75cc4ea6e08be9cae7477a"
            },
            "downloads": -1,
            "filename": "certbot_dns_netangels-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "64e5cd48f80e847a88499d1ebe1a7582",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12779,
            "upload_time": "2025-01-30T09:21:23",
            "upload_time_iso_8601": "2025-01-30T09:21:23.026929Z",
            "url": "https://files.pythonhosted.org/packages/9f/be/5fa176a87db0d1dcc58cf0b388a3c46eb59ff2ed38f0fe247c8c8d1cc8d9/certbot_dns_netangels-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-30 09:21:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "navigatore300",
    "github_project": "certbot-dns-netangels",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "certbot-dns-netangels"
}
        
Elapsed time: 0.88644s