From 5fd3f21b1f7c39f9b5100f74933b4b21f0dd9ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 9 Mar 2016 11:32:50 +0100 Subject: [PATCH 1/2] update _initconf with ACCOUNT_KEY_PATH --- le.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/le.sh b/le.sh index 7c93e5c3..06172479 100755 --- a/le.sh +++ b/le.sh @@ -1140,6 +1140,7 @@ _initconf() { echo "#Account configurations: #Here are the supported macros, uncomment them to make them take effect. #ACCOUNT_EMAIL=aaa@aaa.com # the account email used to register account. +#ACCOUNT_KEY_PATH=\"/path/to/account.key\" #STAGE=1 # Use the staging api #FORCE=1 # Force to issue cert From 3d49985af886a0de520c27711538b9c250fd3884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 9 Mar 2016 11:33:24 +0100 Subject: [PATCH 2/2] update _initconf proper " escaping --- le.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/le.sh b/le.sh index 06172479..cfc927a4 100755 --- a/le.sh +++ b/le.sh @@ -1150,22 +1150,22 @@ _initconf() { ####################### #Cloudflare: #api key -#CF_Key="sdfsdfsdfljlbjkljlkjsdfoiwje" +#CF_Key=\"sdfsdfsdfljlbjkljlkjsdfoiwje\" #account email -#CF_Email="xxxx@sss.com" +#CF_Email=\"xxxx@sss.com\" ####################### #Dnspod.cn: #api key id -#DP_Id="1234" +#DP_Id=\"1234\" #api key -#DP_Key="sADDsdasdgdsf" +#DP_Key=\"sADDsdasdgdsf\" ####################### #Cloudxns.com: -#CX_Key="1234" +#CX_Key=\"1234\" # -#CX_Secret="sADDsdasdgdsf" +#CX_Secret=\"sADDsdasdgdsf\" " > $ACCOUNT_CONF_PATH fi