Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
7df062b7
Commit
7df062b7
authored
Apr 04, 2017
by
neilpang
Browse files
add more debug info
parent
fde8ea08
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
7df062b7
...
@@ -1102,6 +1102,7 @@ _readKeyLengthFromCSR() {
...
@@ -1102,6 +1102,7 @@ _readKeyLengthFromCSR() {
fi
fi
_outcsr
=
"
$(
${
ACME_OPENSSL_BIN
:-
openssl
}
req
-noout
-text
-in
"
$_csrfile
"
)
"
_outcsr
=
"
$(
${
ACME_OPENSSL_BIN
:-
openssl
}
req
-noout
-text
-in
"
$_csrfile
"
)
"
_debug2 _outcsr
"
$_outcsr
"
if
_contains
"
$_outcsr
"
"Public Key Algorithm: id-ecPublicKey"
;
then
if
_contains
"
$_outcsr
"
"Public Key Algorithm: id-ecPublicKey"
;
then
_debug
"ECC CSR"
_debug
"ECC CSR"
echo
"
$_outcsr
"
| _egrep_o
"^ *ASN1 OID:.*"
|
cut
-d
':'
-f
2 |
tr
-d
' '
echo
"
$_outcsr
"
| _egrep_o
"^ *ASN1 OID:.*"
|
cut
-d
':'
-f
2 |
tr
-d
' '
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment