X509Certificate2导致根证书更新 [英] X509Certificate2 causing root certificate update

查看:225
本文介绍了X509Certificate2导致根证书更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎为X509Certificate2调用ctor会强制执行根证书更新.原因是我们目前使用的是自签名证书.在缺少互联网连接的机器上,这是一个很大的性能问题.一个根 证书更新将强制连接到Windows Update,而在这种情况下则不可用.

it seems that calling the ctor' for  X509Certificate2 enforces a root certificate update. The reason for this is that we are currently using a self signed certificate. On machines with missing internet connection this is a big perfomance issue. A root certificate update enforces a connection to windows update which is not available in such a scenario.

不过,有一个选项可以通过组策略或相应的注册表项来禁用根证书更新.但是最好在ctor中有一个选择来避免这种机制.有任何想法如何优雅地处理吗?

Nevertheless there is an option to disable the root certificate update via a group policy or a corresponding registry key. But it would be better to have an option in the ctor' to avoid such a mechanism. Any ideas how to handle this gracefully?

谢谢,
cetama

Thanks,
cetama

推荐答案

F.Gsell,

Hi F. Gsell,

我想将您重定向到适当的论坛,以获得更好的响应.

I would like to redirect you to appropriate forum for better responses.


这篇关于X509Certificate2导致根证书更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆