From 69b67e401534e24c85c1c337198ec3fc5a81bb36 Mon Sep 17 00:00:00 2001 From: Travis Lee Date: Wed, 17 Feb 2016 17:05:13 +0800 Subject: [PATCH] change "openssl sha" to "openssl dgst" --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/le.sh b/le.sh index 7bfd2c2..dbc2182 100755 --- a/le.sh +++ b/le.sh @@ -687,7 +687,7 @@ issue() { dnsadded='0' txtdomain="_acme-challenge.$d" _debug txtdomain "$txtdomain" - txt="$(echo -e -n $keyauthorization | openssl sha -sha256 -binary | _base64 | _b64)" + txt="$(echo -e -n $keyauthorization | openssl dgst -sha256 -binary | _base64 | _b64)" _debug txt "$txt" #dns #1. check use api