使用web浏览器的WinForms控制通过SSL访问Intranet [英] Access Intranet via SSL using WebBrowser Winforms Control

查看:105
本文介绍了使用web浏览器的WinForms控制通过SSL访问Intranet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个.net 2.0应用程序,在内部使用,我们要使用WebBrowser控件访问某些网络资源。我们要添加加密,以这些网站使用SSL使用自签名的证书。

I have a .Net 2.0 app that is used internally and we want to use the WebBrowser control to access some Web resources. We want to add encryption to these sites using SSL using self signed certificates.

我的问题是,如果有方法来禁用所有关于SSL密钥来自不受信任的源传来的警告?我想,以避免不得不在每个正在运行的应用程序的工作站上安装密钥。

My question is if there is way to disable all the warnings about the SSL keys coming from an untrusted source? I would like to avoid to have to install the keys in each of the workstations running the app.

这是如何做到这一点是值得欢迎的任何其他建议。

Any other suggestions on how to do this are welcome.

推荐答案

我不相信有一种变通方法,您通过WebBrowser控件访问上述网络资源时总是会得到警告(或Internet Explorer对于这个问题),但是你可以分发的通过组策略的证书。

I do not believe there is a work around for this, you will always get the warning when accessing the above mentioned web resources via the WebBrowser control (or Internet Explorer for that matter) You could however distribute the root cert via Group Policy.

这篇关于使用web浏览器的WinForms控制通过SSL访问Intranet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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