certreq -submit commnd 要求选择 2 个证书颁发机构之一

certreq -submit commnd asks to choose one of the 2 Certificate Authorities

我正在使用以下 ini 文件:

[NewRequest]
Subject = "CN=TestCN,SERIALNUMBER=TestSN,O=Test,L=Test,C=UK"
Exportable = TRUE
ExportableEncrypted = TRUE
HashAlgorithm = Sha256
KeyLength = 256
MachineKeySet = True
FriendlyName = "TestName"
[RequestAttributes]
CertificateTemplate = "ActualTemplateName"

然后我运行下面的命令:

certreq -new "test.ini" "test.req"
certreq -submit "test.req" "test.cer"

现在,在第二个命令中,即 certreq -submit 要求我选择 2 个证书颁发机构之一。 我有一个不应该有任何此类弹出窗口的要求,它应该作为 ini 文件或 certreq -submit 命令的一部分提供。 提前致谢。

它对我有用:

certreq -config "CAServerName\CAName" -提交 "test.req" "test.cer""