最佳答案
有没有办法让 openssl 跳过诸如
Country Name (2 letter code) [US]:
Organization Name (eg, company) [My Company Name LTD.]:
Common Name (eg, YOUR name) [something]:
创建证书时使用
openssl req -config openssl.cnf -new -x509 ...
考虑到这些参数是在 openssl.cnf
文件中提供的
例如:。
countryName = Country Name (2 letter code)
countryName_default = US
countryName_min = 2
countryName_max = 2
0.organizationName = Organization Name (eg, company)
0.organizationName_default = My Company Name LTD.
commonName = Common Name (eg, YOUR name)
commonName_max = 64
commonName_default = ${ENV::CN}