From 102263d9c313740f775fec23c9922e8db6775536 Mon Sep 17 00:00:00 2001 From: Markus Pawlata Date: Sun, 24 Feb 2019 20:43:17 +0100 Subject: [PATCH] Updated readme --- readme.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index f2cdc3d..0e20542 100644 --- a/readme.md +++ b/readme.md @@ -5,25 +5,28 @@ LiveDNS API to allow [Gandi](https://www.gandi.net/) customers to prove control of a domain name. 1. Obtain a Gandi API token (see [Gandi LiveDNS API](https://doc.livedns.gandi.net/)) - + 2. Install the plugin: - ``` - pip install 'git+https://gitlab.com/cspublic/certbot-plugin-gandi.git' + + ```shell + pip install 'git+https://derdritte.net/gitea/markus/certbot_plugin_gandi.git' ``` 3. Create a `gandi.ini` config file with the following contents: - ``` + + ```ini 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): - ``` + + ```shell certbot certonly -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials gandi.ini -d domain.com ``` - Add additional options as required to specify an installation plugin etc. - - + Add additional options as required to specify an installation plugin etc. + It is especially recommended you use the `--certname` flag to specify a name for your new certificate.