1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-20 04:43:03 +00:00

Merge pull request #583 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/578
This commit is contained in:
neil
2017-02-05 22:09:50 +08:00
committed by GitHub
+1 -1
View File
@@ -914,7 +914,7 @@ _readSubjectFromCSR() {
_usage "_readSubjectFromCSR mycsr.csr"
return 1
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