Added download instruction, fixed certbot example.

This commit is contained in:
Erik C. Thauvin 2019-04-30 16:29:58 -07:00
parent 6f97aa0f97
commit 94aa40f848

View file

@ -15,6 +15,9 @@ The scripts use the [untangle](https://untangle.readthedocs.io/en/latest/) libra
pip install untangle pip install untangle
``` ```
Download the [latest release](https://github.com/ethauvin/namesilo-letsencrypt/releases) archive and expand it in the desired directory.
## Configuration ## Configuration
Add your [NameSilo API key](https://www.namesilo.com/account_api.php) Add your [NameSilo API key](https://www.namesilo.com/account_api.php)
@ -29,7 +32,7 @@ Alternatively, the API key can be set in the `NAMESILO_API` environment variable
## Using with Certbot ## Using with Certbot
To issue a new certificate using the hook scripts, try something like: To issue or renew a certificate using the hook scripts, try something like:
<pre> <pre>
certbot certonly --manual --email you@example.com \ certbot certonly --manual --email you@example.com \
@ -40,17 +43,6 @@ certbot certonly --manual --email you@example.com \
-d *.example.com -d example.com -d *.example.com -d example.com
</pre> </pre>
Or to renew an existing certificate:
<pre>
certbot renew --manual --email you@example.com \
--agree-tos --manual-public-ip-logging-ok \
--preferred-challenges=dns \
--manual-auth-hook <em>/path/to/authenticator.py</em> \
--manual-cleanup-hook <em>/path/to/cleanup.py</em> \
-d *.example.com -d example.com
</pre>
Please note that NameSilo DNS propagation takes up to **15 minutes**, Please note that NameSilo DNS propagation takes up to **15 minutes**,
so the scripts will wait 16 minutes before completing. so the scripts will wait 16 minutes before completing.