Update 'README.md'

This commit is contained in:
jens 2020-09-13 14:12:56 +00:00
parent 6142e1d4ef
commit a9ae11e061
1 changed files with 23 additions and 31 deletions

View File

@ -11,13 +11,11 @@ Configuration of transip
In `https://www.transip.be/cp/account/api/` you need to have to a keypair In `https://www.transip.be/cp/account/api/` you need to have to a keypair
.. _transip: https://www.transip.org/
.. _certbot: https://certbot.eff.org/
Installation Installation
------------ ------------
::
pip install certbot-dns-transip pip install certbot-dns-transip
@ -28,31 +26,25 @@ Named Arguments
To start using DNS authentication for transip, pass the following arguments on To start using DNS authentication for transip, pass the following arguments on
certbot's command line: certbot's command line:
============================================================= ============================================== `--authenticator certbot-dns-transip:dns-transip`: select the authenticator plugin (Required)
``--authenticator certbot-dns-transip:dns-transip`` select the authenticator plugin (Required)
``--dns-transip-credentials`` transip Remote User credentials `--dns-transip-credentials`: transip Remote User credentials INI file. (Required)
INI file. (Required)
``--dns-transip-propagation-seconds`` | waiting time for DNS to propagate before asking `--dns-transip-propagation-seconds`: waiting time for DNS to propagate before asking the ACME server to verify the DNS record. Default: 10, Recommended: >= 600)
| the ACME server to verify the DNS record.
| (Default: 10, Recommended: >= 600)
============================================================= ==============================================
Credentials Credentials
----------- -----------
An example ``credentials.ini`` file: An example `credentials.ini` file:
.. code-block:: ini
dns_transip_username = myremoteuser
:dns_transip_api_key_file = path/to/transip_api_key
```ini
dns_transip_username = myremoteuser
dns_transip_api_key_file = path/to/transip_api_key
```
The path to this file can be provided interactively or using the The path to this file can be provided interactively or using the
``--dns-transip-credentials`` command-line argument. Certbot `--dns-transip-credentials` command-line argument. Certbot
records the path to this file for use during renewal, but does not store the records the path to this file for use during renewal, but does not store the
file's contents. file's contents.
@ -74,21 +66,21 @@ including for renewal, and cannot be silenced except by addressing the issue
Examples Examples
-------- --------
To acquire a single certificate for both ``example.com`` and To acquire a single certificate for both `example.com` and
``*.example.com``, waiting 900 seconds for DNS propagation: `*.example.com`, waiting 900 seconds for DNS propagation:
.. code-block:: bash ```bash
certbot certonly \
--authenticator dns-transip \
--dns-transip-credentials /etc/letsencrypt/.secrets/domain.tld.ini \
--dns-transip-propagation-seconds 900 \
--server https://acme-v02.api.letsencrypt.org/directory \
--agree-tos \
--rsa-key-size 4096 \
-d 'example.com' \
-d '*.example.com'
certbot certonly \
--authenticator dns-transip \
--dns-transip-credentials /etc/letsencrypt/.secrets/domain.tld.ini \
--dns-transip-propagation-seconds 900 \
--server https://acme-v02.api.letsencrypt.org/directory \
--agree-tos \
--rsa-key-size 4096 \
-d 'example.com' \
-d '*.example.com'
```
It is suggested to secure the folder as follows:: It is suggested to secure the folder as follows::
chown root:root /etc/letsencrypt/.secrets chown root:root /etc/letsencrypt/.secrets