Browse Source

change "openssl sha" to "openssl dgst"

pull/73/head
Travis Lee 9 years ago
parent
commit
69b67e4015
  1. 2
      le.sh

2
le.sh

@ -687,7 +687,7 @@ issue() {
dnsadded='0' dnsadded='0'
txtdomain="_acme-challenge.$d" txtdomain="_acme-challenge.$d"
_debug txtdomain "$txtdomain" _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" _debug txt "$txt"
#dns #dns
#1. check use api #1. check use api

Loading…
Cancel
Save