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
b22b085b
Commit
b22b085b
authored
Feb 05, 2017
by
neilpang
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/578
support openssl 1.1.0
parent
9bdb799b
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
b22b085b
...
@@ -914,7 +914,7 @@ _readSubjectFromCSR() {
...
@@ -914,7 +914,7 @@ _readSubjectFromCSR() {
_usage
"_readSubjectFromCSR mycsr.csr"
_usage
"_readSubjectFromCSR mycsr.csr"
return
1
return
1
fi
fi
$OPENSSL_BIN
req
-noout
-in
"
$_csrfile
"
-subject
| _egrep_o
"CN=.*"
|
cut
-d
=
-f
2 |
cut
-d
/
-f
1 |
tr
-d
'\n'
$OPENSSL_BIN
req
-noout
-in
"
$_csrfile
"
-subject
| _egrep_o
"CN
*
=.*"
|
cut
-d
=
-f
2 |
cut
-d
/
-f
1 |
tr
-d
'\n'
}
}
#_csrfile
#_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