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
c961c865
Commit
c961c865
authored
Feb 10, 2017
by
neil
Committed by
GitHub
Feb 10, 2017
Browse files
Merge pull request #598 from Neilpang/mingw
support mingw/git-bash
parents
7af1155c
34f25fa5
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
c961c865
...
@@ -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