[英]Can I use normal http and https for the same endpoint
So I have a client who is going to upgrade to ssl, but they currently use just plain http. 所以我有一个客户端要升级到ssl,但他们目前只使用普通的http。
I want to change the endpoint for the service. 我想更改服务的端点。 To use https.
要使用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? 问题是他们使用http连接到Web服务仍然有效,直到他们将地址更改为https? Do I need two endpoints to pull this off?
我需要两个端点来解决这个问题吗?
Short answer is no, when you switch to HTTPS then HTTP won't work any longer. 简短的回答是否定的,当您切换到HTTPS时,HTTP将不再起作用。 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.
他们还需要不同的地址属性值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.