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
be4f87c7
Commit
be4f87c7
authored
Jun 18, 2017
by
neil
Committed by
GitHub
Jun 18, 2017
Browse files
Merge pull request #890 from Neilpang/dev
fix format
parents
26e7fd8b
b963dadc
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
be4f87c7
...
...
@@ -1093,7 +1093,7 @@ _readSubjectFromCSR() {
_usage
"_readSubjectFromCSR mycsr.csr"
return
1
fi
${
ACME_OPENSSL_BIN
:-
openssl
}
req
-noout
-in
"
$_csrfile
"
-subject
|
tr
','
"
\n
"
|
_egrep_o
"CN *=.*"
|
cut
-d
=
-f
2 |
cut
-d
/
-f
1 |
tr
-d
' \n'
${
ACME_OPENSSL_BIN
:-
openssl
}
req
-noout
-in
"
$_csrfile
"
-subject
|
tr
','
"
\n
"
| _egrep_o
"CN *=.*"
|
cut
-d
=
-f
2 |
cut
-d
/
-f
1 |
tr
-d
' \n'
}
#_csrfile
...
...
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