Browse Source

Merge pull request #598 from Neilpang/mingw

support mingw/git-bash
pull/624/head
neil 8 years ago
committed by GitHub
parent
commit
c961c865ee
  1. 4
      acme.sh

4
acme.sh

@ -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

Loading…
Cancel
Save