From a947dbc6356389cea2590d7c26650af9bb103c0b Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 22 Jan 2016 00:16:43 +0800 Subject: [PATCH] Support dns-01 challenge --- README.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4815459..cc64e92 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ root@xvm:~# le Usage: issue|renew|renewAll|createAccountKey|createDomainKey|createCSR|install|uninstall root@xvm:~# le issue -Usage: le issue webroot|no|apache a.com [www.a.com,b.com,c.com]|no [key-length]|no [cert-file-path]|no [key-file-path]|no [ca-cert-file-path]|no [reloadCmd]|no +Usage: le issue webroot|no|apache|dns a.com [www.a.com,b.com,c.com]|no [key-length]|no [cert-file-path]|no [key-file-path]|no [ca-cert-file-path]|no [reloadCmd]|no ``` @@ -101,6 +101,38 @@ le issue apache aa.com www.aa.com All the other arguments are the same with previous. +# Use DNS mode: +Support the latest dns-01 challenge. + +``` +le issue dns aa.com www.aa.com +``` + +Use domain api to automatically add dns record is not finished yet. +So, you must manually add the txt record to finish verify. + +You will got the output like bellow: +``` +Add the following txt record: +Domain:_acme-challenge.aa.com +Txt value:9ihDbjYfTExAYeDs4DBUeuTo18KBzwvTEjUnSwd32-c + +Add the following txt record: +Domain:_acme-challenge.www.aa.com +Txt value:9ihDbjxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +``` + +Please add those txt records to the domains. Waiting for the dns to take effect. + +Then just retry with 'renew' command + +``` +le renew aa.com +``` + +Ok, it's finished. + + #Under the Hood