Go to file
Markus Pawlata 773e0da99b Updated readme 2019-02-27 22:20:36 +01:00
certbot_plugin_gandi - compatible with python3.6 2019-02-24 01:38:31 +01:00
dev Update readme.md 2018-03-15 17:24:48 +00:00
.gitignore Add example plugin from certbot source, and notes for running with certbot docker container 2018-03-12 16:22:04 +00:00
LICENSE - compatible with python3.6 2019-02-24 01:38:31 +01:00
readme.md Updated readme 2019-02-27 22:20:36 +01:00
setup.py Move plugin up a level for easy pip install via git 2018-03-15 15:19:54 +00:00

readme.md

Certbot plugin for authentication using Gandi LiveDNS

This is a plugin for Certbot that uses the Gandi LiveDNS API to allow Gandi customers to prove control of a domain name.

  1. Obtain a Gandi API token (see Gandi LiveDNS API)

  2. Install the plugin:

    pip install 'git+https://derdritte.net/gitea/markus/certbot_plugin_gandi.git'
    
  3. Create a gandi.ini config file with the following contents:

    certbot_plugin_gandi:dns_api_key=APIKEY
    

    Replace APIKEY with your Gandi API key and ensure permissions are set to disallow access to other users.

  4. Run certbot and direct it to use the plugin for authentication and to use the config file created in (3):

    certbot certonly -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials gandi.ini -d domain.com
    

    You generally want to use an absolute path to specify gandi.ini.

For more additional options, e.g. to specify an installation plugin and more, refer to the certbot documentation.
It is especially recommended you use the --cert-name option to specify a name for your new certificate, because the certbot will create a config you can use for renewals later.