似乎为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导致根证书更新
发布评论