0

“我可以”和“如何”在我的云服务的暂存部署中使用自签名证书吗?

是否需要特殊配置?我检查了几个教程,但他们只提到 https ......而且我不使用 HTTPS ......我想以编程方式加载自签名证书......

我确实可以加载证书...但我收到黄屏提示“X.509 证书 CN=mysite.com 不在受信任的人员存储中。”...我如何使用自签名证书?!?!

我正在以这种方式加载证书:
X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
store.Open(OpenFlags.ReadOnly | OpenFlags.OpenExistingOnly);
cert = store.Certificates.Find(X509FindType.FindByThumbprint, thumb, false);

编辑:证书是为了使 WS-Federation 身份验证成为可能......

4

0 回答 0