Metadata-Version: 2.1
Name: certbot-dns-ngenix
Version: 0.0.1
Summary: NGENIX DNS Authenticator plugin for Certbot
Home-page: https://github.com/maniack/certbot-dns-ngenix
Author: Igor Lazarev
Author-email: i.a.lazarev@gmail.com
License: MIT License
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Plugins
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Security
Classifier: Topic :: System :: Installation/Setup
Classifier: Topic :: System :: Networking
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Description-Content-Type: text/x-rst
License-File: LICENSE.txt

certbot-dns-ngenix
=====================

`NGENIX <https://ngenix.net>`_ 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 NGENIX Remote API.

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

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

============================================================= ==============================================
``--authenticator dns-ngenix``                                select the authenticator plugin (Required)

``--dns-ngenix-credentials``                                  NGENIX Remote User credentials
                                                              INI file. (Required)

``--dns-ngenix-propagation-seconds``                          | waiting time for DNS to propagate before asking
                                                              | the ACME server to verify the DNS record.
                                                              | (Default: 300, Recommended: >= 600)
============================================================= ==============================================

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

An example ``credentials.ini`` file:

.. code-block:: ini
   :name: credentials.ini

   # NGENIX API credentials used by Certbot
   dns_ngenix_email     = user@domain.tld
   dns_ngenix_api_token = ngenix_token

The path to this file can be provided interactively or using the
``--dns-ngenix-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 a password. 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
--------

.. code-block:: bash

   certbot certonly \\
     --dns-ngenix \\
     --dns-ngenix-credentials ~/.secrets/certbot/ngenix.ini \\
     -d example.com

.. code-block:: bash

   certbot certonly \\
     --dns-ngenix \\
     --dns-ngenix-credentials ~/.secrets/certbot/ngenix.ini \\
     -d example.com \\
     -d www.example.com

.. code-block:: bash

   certbot certonly \\
     --dns-ngenix \\
     --dns-ngenix-credentials ~/.secrets/certbot/ngenix.ini \\
     --dns-ngenix-propagation-seconds 240 \\
     -d example.com

