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
756dbac3
Commit
756dbac3
authored
Apr 04, 2017
by
neil
Committed by
GitHub
Apr 04, 2017
Browse files
Merge pull request #771 from Neilpang/dev
add more debug info
parents
e485e8f6
7df062b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
756dbac3
...
@@ -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