windows-server-2008-r2 – 自动从商店中删除受信任的根证书

我有一个受信任的第三方的根证书.我将此安装到 Windows Server 2008中的“受信任的根证书颁发机构”证书存储区,但它在未知时间从证书存储区中消失.

可能是什么导致了这个?

>证书尚未过期
>它似乎没有被撤销
>我无法在事件发生时看到任何相关的事件日志
>它发生在我的开发机器,测试环境和生产服务器上
>生产服务器不在域上,只是工作组(托管在Rackspace中)
>查询组策略(gpresult / h foo.html)并未报告我无法信任第三方根CA

我在c#命令行应用程序中使用以下代码来安装证书:

X509Certificate2 certificate = new X509Certificate2("trusted-root-cert.cer");
X509Store store = new X509Store(StoreName.AuthRoot,StoreLocation.LocalMachine);

store.Open(OpenFlags.ReadWrite);
store.Add(certificate);
store.Close();

每次我发布对应用程序的更改时,都会运行证书安装代码.我不知道这怎么会造成任何伤害,但值得一提.

我安装证书的方式可能有些不对劲.安装的首选方式是什么?

在应用程序事件日志中进行更彻底的挖掘,此条目发生:
Log Name:      Application
Source:        Microsoft-Windows-CAPI2
Date:          24/10/2014 12:49:10
Event ID:      4108
Task Category: None
Level:         information
Keywords:      Classic
User:          N/A
Computer:      [redacted]
Description:
Successful auto delete of third-party root certificate:: Subject [...redacted...]

事实证明,如果无法识别第三方根CA,则可以将其删除

Typically,a certificate is used when you use a secure Web site or when you send and receive secure e-mail. Anyone can issue certificates,but to have transactions that are as secure as possible,certificates must be issued by a trusted certificate authority (CA). Microsoft has included a list in Windows XP and other products of companies and organizations that it considers trusted authorities.

http://toastergremlin.com/?p=144

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...