将 HTTPS 与 BITS(后台智能传输服务)结合使用
我正在编写一个客户端应用程序,需要通过 BITS 将文件发送到我的服务器。 我大部分情况下一切正常,但无法让 BITS 连接通过 HTTPS 安全运行。
现在我只是通过 HTTP 使用基本身份验证,因此登录信息是以明文形式发送的 - 这不是最佳的:-) 我希望能够使用 HTTPS,但我不确定如何执行此操作。 根据此 Google 网上论坛帖子 ,BITS“不支持使用证书进行身份验证”(尽管该评论已经有几年了)。 这是否意味着 SSL 已经过时了? 我还能如何通过 HTTPS 保护 BITS 连接的安全?
我的服务器在 Windows Server 2003 上运行 IIS 6.0。任何帮助将不胜感激!
I am writing a client application that needs to send a file via BITS to my server. I have everything working for the most part, but I can't get the BITS connection to operate securely with HTTPS.
Right now I'm just using basic authentication through HTTP, so the login is being sent cleartext--which is not optimal :-) I would like to be able to use HTTPS, but am not sure how to go about doing this. According to this Google Groups thread, BITS "doesn't support authentication using certificates" (though that comment is a few years old now). Does this mean SSL is out? How else can I secure a connection for BITS via HTTPS?
My server is running IIS 6.0 on Windows Server 2003. Any help would be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
BITS 版本 2.5 支持基于证书的客户端身份验证。 检查您安装的版本并可能将其升级到最新版本。
请注意这是否是最新的,但这是一个起点:
http://support.microsoft.com/kb/923845
BITS version 2.5 supports certificate based client authentication. Check which version you have installed and potentially upgrade it to the latest.
Note sure if this is the latest, but here's a starting point:
http://support.microsoft.com/kb/923845
BITS 支持 HTTP 和 HTTPS 协议。 因此,如果您的服务器上安装了 SSL 证书,并且客户端上的受信任存储中也安装了 SSL 证书,那么我相信 BITS 将通过 HTTPS 运行,无需任何更多干预。
BITS supports HTTP and HTTPS protocols. So if you have an SSL cert installed on your server and also installed in the Trusted Store on you client then I believe that BITS will work over HTTPS without any more intervention.