X509Certificate2导致根证书更新

编程入门 行业动态 更新时间:2024-10-23 07:39:06
本文介绍了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导致根证书更新

本文发布于:2023-11-05 08:24:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1560356.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:证书

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!