Browse Source

add more debug info
https://github.com/Neilpang/acme.sh/issues/1932

neilpang 6 years ago
parent
commit
238990a285
1 changed files with 2 additions and 1 deletions
  1. 2 1
      acme.sh

+ 2 - 1
acme.sh

@@ -1516,7 +1516,8 @@ _calcjwk() {
     JWK_HEADERPLACE_PART1='{"nonce": "'
     JWK_HEADERPLACE_PART2='", "alg": "ES'$__ECC_KEY_LEN'"'
   else
-    _err "Only RSA or EC key is supported."
+    _err "Only RSA or EC key is supported. keyfile=$keyfile"
+    _debug2 "$(cat "$keyfile")"
     return 1
   fi