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
34f25fa5
Commit
34f25fa5
authored
Feb 10, 2017
by
neil
Browse files
support mingw/git-bash
parent
c9d7daab
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
34f25fa5
...
@@ -896,7 +896,11 @@ _createcsr() {
...
@@ -896,7 +896,11 @@ _createcsr() {
_csr_cn="$(_idn "$domain")"
_csr_cn="$(_idn "$domain")"
_debug2 _csr_cn "$_csr_cn"
_debug2 _csr_cn "$_csr_cn"
if _contains "$(uname -a)" "MINGW"; then
$OPENSSL_BIN req -new -sha256 -key "$csrkey" -subj "//CN=$_csr_cn" -config "$csrconf" -out "$csr"
else
$OPENSSL_BIN req -new -sha256 -key "$csrkey" -subj "/CN=$_csr_cn" -config "$csrconf" -out "$csr"
$OPENSSL_BIN req -new -sha256 -key "$csrkey" -subj "/CN=$_csr_cn" -config "$csrconf" -out "$csr"
fi
}
}
#_signcsr key csr conf cert
#_signcsr key csr conf cert
...
...
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