我正在设法编写安装证书的脚本。
“右键单击->安装证书”有效,并在IE的证书视图中“从属证书颁发机构”下显示证书。
如果找到certutil.exe命令,
certutil.exe -addstore -enterprise <storename>我的问题是你如何列出/找出有效的存储名?
发布于 2012-08-13 18:21:48
找到具有下列有效存储名的站点:
ca -> Specifies certificates in the Intermediate Certification Authorities store
my -> Specifies certificates issued to the current user
root -> Specifies certificates in the Trusted Root Certification Authorities store
spc -> Specifies software publisher certificates
user_created_store -> Specifies the name of a user-created certificate store发布于 2017-04-03 07:41:27
您可以在Powershell中快速获得列表:
PS> ls Cert:\LocalMachine
Name : TrustedPublisher
Name : ClientAuthIssuer
Name : Remote Desktop
Name : Root
Name : TrustedDevices
Name : WebHosting
Name : CA
Name : REQUEST
Name : AuthRoot
Name : TrustedPeople
Name : My
Name : SmartCardRoot
Name : Trust
Name : Disallowed发布于 2013-10-07 15:02:02
此外:
顺便说一下,"spc“不是为我工作的
我想名单在这里:http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.storename.aspx
或者在这里http://msdn.microsoft.com/en-us/library/microsoft.web.services2.security.x509.x509certificatestore_members.aspx
"root“和”信任“在用户上下文中无效(当使用-user开关时)
https://serverfault.com/questions/416914
复制相似问题