Package: certbot-dns-inwx
certbot-dns-inwxINWX DNS authenticator plugin for certbotAn authenticator plugin forcertbotto supportLet's EncryptDNS challenges (dns-01) for domains managed by the nameservers of InterNetworX (INWX).Requirementscertbot (>=0.15)setuptools (for manual installation; e.g.python3-setuptools)For older Ubuntu distributions check out this PPA:ppa:certbot/certbotInstallationFirst install the plugin:Via Snap (requires certbot to be installed via snap):snap install certbot-dns-inwx
snap set certbot trust-plugin-with-root=ok
snap connect certbot:plugin certbot-dns-inwx
snap connect certbot-dns-inwx:certbot-metadata certbot:certbot-metadataVia PIP:pip install certbot-dns-inwxWithout dependencies (if using certbot from your distribution repository):python3 setup.py develop --no-depsWith dependencies (not recommended if using certbot from your distribution repositories):python3 setup.py installWith certbot-auto (deprecated for most platforms, needs to be reinstalled after every certbot-auto update):/opt/eff.org/certbot/venv/bin/pip install .Configure it with your INWX API Login Details:vim /etc/letsencrypt/inwx.cfgwith the following content (also seeinwx.cfgof the repository):dns_inwx_url           = https://api.domrobot.com/xmlrpc/
dns_inwx_username      = your_username
dns_inwx_password      = """your_password"""
dns_inwx_shared_secret = your_shared_secret optionalThe shared secret is your INWX 2FA OTP key. It is shown to you when setting up the 2FA. It isnotthe 6 digit code you need to enter when siging in. If you are not using 2FA, simply keep the value the way it is.
For general syntax requirements of this file, seehere.Also notethese remarksif you are using an older version of certbot.Make sure the file is only readable by root! Otherwise all your domains might be in danger:chmod 0600 /etc/letsencrypt/inwx.cfgUsageRequest new certificates via a certbot invocation like this:certbot certonly -a dns-inwx -d sub.domain.tld -d *.wildcard.tldRenewals will automatically be performed using the same authenticator and credentials by certbot.Usage on certbot < v1.7.0Before certbot v1.7.0, third plugins needed to be accessed using their plugin name as prefix. If you are still using an older version of certbot, ensure to prefix all options ininwx.cfgand on the command-line withcertbot-dns-inwx:, e.g.:certbot certonly -a certbot-dns-inwx:dns-inwx --certbot-dns-inwx:dns-inwx-credentials /root/inwx.cfg -d sub.domain.tldCommand Line Options--dns-inwx-propagation-seconds DNS_INWX_PROPAGATION_SECONDS
                        The number of seconds to wait for DNS to propagate
                        before asking the ACME server to verify the DNS
                        record. (default: 60)
 --dns-inwx-credentials DNS_INWX_CREDENTIALS
                        Path to INWX account credentials INI file (default:
                        /etc/letsencrypt/inwx.cfg)
 --dns-inwx-follow-cnames DNS_INWX_FOLLOW_CNAMES
                        If 'true', the plugin will follow CNAME redirects 
                        on validation records (default: true)
                        This command line option is only exposed, if 
                        dnspython is installed.See alsocertbot --help dns-inwxfor further information.CNAME RedirectsThis plugin supports redirections on the DNS-01 validation records using CNAME records.For example, you can have a domaina.tldwhich is not necessarily managed by INWX and possibly may not be automated via certbot. Additionally, you have a domainb.tldwhich is managed by INWX.An easy solution to automate certificate retrieval fora.tldis to add a CNAME record for the name_acme-challenge.a.tldtoa.tldwhich is pointing to i.e._a_validation.b.tldin your providers web interface.A command likecertbot -a dns-inwx -d a.tldwill then make certbot place its validation token at_a_validation.b.tldvia INWX and your validation fora.tldsucceeds.NOTE:This is an optional feature and requires dnspython to be installed. To install it use your distribution repository or i.e.pip install dnspython.NoteWhile the plugin itself is licensed according to the Apache License v2.0 the contained INWX DomRobot Client by INWX is licensed according to the MIT License.