From 0f71a9fe96c7be6f8d8961a3ac12b6b5e6fe2528 Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 12 Feb 2016 08:54:28 +0800 Subject: [PATCH] Use openssl dgst -sha256 instead of openssl sha --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/le.sh b/le.sh index 953136e3..5e700397 100755 --- a/le.sh +++ b/le.sh @@ -574,7 +574,7 @@ issue() { _debug HEADER "$HEADER" accountkey_json=$(echo -n "$jwk" | sed "s/ //g") - thumbprint=$(echo -n "$accountkey_json" | openssl sha -sha256 -binary | _base64 | _b64) + thumbprint=$(echo -n "$accountkey_json" | openssl dgst -sha256 -binary | _base64 | _b64) _info "Registering account"