1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-18 20:02:55 +00:00

change "openssl sha" to "openssl dgst"

This commit is contained in:
Travis Lee
2016-02-17 17:05:13 +08:00
parent 02c0453b71
commit 69b67e4015
+1 -1
View File
@@ -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