Browse Source

Merge pull request #771 from Neilpang/dev

add more debug info
pull/102/merge
neil 8 years ago
committed by GitHub
parent
commit
756dbac39f
  1. 1
      acme.sh

1
acme.sh

@ -1102,6 +1102,7 @@ _readKeyLengthFromCSR() {
fi
_outcsr="$(${ACME_OPENSSL_BIN:-openssl} req -noout -text -in "$_csrfile")"
_debug2 _outcsr "$_outcsr"
if _contains "$_outcsr" "Public Key Algorithm: id-ecPublicKey"; then
_debug "ECC CSR"
echo "$_outcsr" | _egrep_o "^ *ASN1 OID:.*" | cut -d ':' -f 2 | tr -d ' '

Loading…
Cancel
Save