Merge pull request #73 from travislee8964/master

change "openssl sha" to "openssl dgst"
This commit is contained in:
Neil 2016-02-17 17:10:10 +08:00
commit 18d10a9c9c

2
le.sh
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