Certbot plugin for authentication using Njalla
This is a plugin for Certbot that uses the Njalla API to allow customers to prove control of a domain name.
Usage
-
Obtain an Njalla API token (found in the settings)
-
Install the plugin using
pip3 install certbot-dns-njalla
, or if you are usingsudo
with certbot usesudo -H pip3 install certbot-dns-njalla
-
Create a
njalla.ini
config file with the following contents and applychmod 600 njalla.ini
on it:certbot_dns_njalla:dns_njalla_token=0000000000000000000000000000000000000000
Replace the zeroes with your Njalla API key and ensure permissions are set to disallow access to other users.
-
Run
certbot
and direct it to use the plugin for authentication and to use the config file previously created:certbot certonly -a certbot-dns-njalla:dns-njalla --certbot-dns-njalla:dns-njalla-credentials njalla.ini -d domain.com
Add additional options as required to specify an installation plugin etc.