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
2c9ed4c5
Commit
2c9ed4c5
authored
Jun 18, 2017
by
neilpang
Browse files
check invalid subject cn in the csr
fix
https://github.com/Neilpang/acme.sh/issues/805
parent
b963dadc
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
2c9ed4c5
...
...
@@ -3940,6 +3940,10 @@ signcsr() {
return
1
fi
_debug _csrsubj
"
$_csrsubj
"
if
_contains
"
$_csrsubj
"
' '
||
!
_contains
"
$_csrsubj
"
'.'
;
then
_info
"It seems that the subject:
$_csrsubj
is not a valid domain name. Drop it."
_csrsubj
=
""
fi
_csrdomainlist
=
$(
_readSubjectAltNamesFromCSR
"
$_csrfile
"
)
if
[
"
$?
"
!=
"0"
]
;
then
...
...
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