我可以对同一端点使用普通的 http 和 https 吗
所以我有一个客户要升级到 ssl,但他们目前只使用普通的 http。
我想更改服务的端点。要使用 https。
<binding name="basicHttpSSLBinding" closeTimeout="00:02:00" openTimeout="00:02:00"
receiveTimeout="00:20:00" sendTimeout="00:20:00">
<security mode="Transport" >
</security>
</binding>
问题是,在将地址更改为 https 之前,使用 http 与 Web 服务的连接是否仍然有效?我需要两个端点来完成这个任务吗?
So I have a client who is going to upgrade to ssl, but they currently use just plain http.
I want to change the endpoint for the service. To use https.
<binding name="basicHttpSSLBinding" closeTimeout="00:02:00" openTimeout="00:02:00"
receiveTimeout="00:20:00" sendTimeout="00:20:00">
<security mode="Transport" >
</security>
</binding>
The question is will their connection to the web service using http still work until they change the address to https? Do I need two endpoints to pull this off?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简而言之,答案是否定的,当您切换到 HTTPS 时,HTTP 将不再起作用。是的,您需要两个端点:一个具有安全模式传输,另一个具有无安全模式。他们还需要不同的地址属性值。
Short answer is no, when you switch to HTTPS then HTTP won't work any longer. Yes, you'll need two endpoint: one with security mode transport and one with security mode none. They'll also need different address attribute values.