Commit 98e314d9 authored by Yusei Tahara's avatar Yusei Tahara

Give more concrete instructions.

parent 02bcaef4
......@@ -8,8 +8,27 @@ login zope_username
password zope_password
```
You need to prepare config file like :
```text
#For production
#CA="https://acme-v01.api.letsencrypt.org/directory"
#Use the latest license.
#LICENSE="https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf"
#For staging. Remove it for production.
CA="https://acme-staging.api.letsencrypt.org/directory"
#Use your convenient location.
WELLKNOWN="/home/yusei/letsencrypt.sh"
#This is needed to call hook
HOOK_CHAIN=yes
  • Why do you think it is required ?

    Here is the explanation in doc/examples/config :

    # Chain clean_challenge|deploy_challenge arguments together into one hook call per certificate (default: no)
  • If you talk about HOOK_CHAIN=yes, letsencrypt.sh did not call zope-hook.sh without that option to me...

Please register or sign in to reply
```
You also need domains.txt like :
```text
www.nexedi.co.jp
```
Now you can invoke the script like :
```text
./letsencrypt.sh [command [argument]] [parameter [argument]] [parameter [argument]] --hook ./zope-hook.sh
./letsencrypt.sh -c --hook ./zope-hook.sh
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment