最佳答案
在我的剧本里,我有:
openssl req \
-x509 \
-new \
-nodes \
-key certs/ca/my-root-ca.key.pem \
-days 3652 \
-out certs/ca/my-root-ca.crt.pem \
-subj "/C=GB/ST=someplace/L=Provo/O=Achme/CN=${FQDN}"
在 Windows 上运行 Git Bash 3.1可以得到:
Subject does not start with '/'.
试着像这样逃避主题: - subj”/C = UK/ST = where/L = 普罗沃/O = Achme/CN = ${ FQDN }
还是没用,有办法吗?