Commit 69b67e40 authored by Travis Lee's avatar Travis Lee
Browse files

change "openssl sha" to "openssl dgst"

parent 02c0453b
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment