Merge pull request #77 from germeier/master

add support for dns-01 challenge - try 2
This commit is contained in:
Lukas Schauer
2016-01-08 22:26:45 +01:00
3 changed files with 50 additions and 8 deletions

View File

@@ -33,6 +33,7 @@ Parameters:
--privkey (-p) path/to/key.pem Use specified private key instead of account key (useful for revocation)
--config (-f) path/to/config.sh Use specified config file
--hook (-k) path/to/hook.sh Use specified script for hooks
--challenge (-t) http-01|dns-01 Which challenge should be used? Currently http-01 and dns-01 are supported
```
### domains.txt
@@ -76,6 +77,12 @@ WELLKNOWN="/var/www/letsencrypt"
An alternative to setting the WELLKNOWN variable would be to create a symlink to the default location next to the script (or BASEDIR):
`ln -s /var/www/letsencrypt .acme-challenges`
### dns-01 challenge
This script also supports the new `dns-01`-type verification. Be aware that at the moment this is not available on the production servers from letsencrypt. Please read `https://community.letsencrypt.org/t/dns-challenge-is-in-staging/8322` for the current state of `dns-01` support.
You need a hook script that deploys the challenge to your DNS server!
## Import
If you want to import existing keys from the official letsencrypt client have a look at [Import from official letsencrypt client](https://github.com/lukas2511/letsencrypt.sh/wiki/Import-from-official-letsencrypt-client).