如果客户端使用https,它是否需要SSL用于wcf服务 [英] Is it require SSL for wcf services if the client uses https

查看:115
本文介绍了如果客户端使用https,它是否需要SSL用于wcf服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用wcf服务的站点,所以到目前为止(站点和wcf服务)都在http上工作。但是现在客户端更改了使用https的站点,所以现在需要wcf服务才能使用SSL。

I have a site which uses wcf service, so as of now both (site and wcf services) are worked on http. But now client changed the site which uses https, so now is it require wcf service to use SSL.

推荐答案

只要通过http协议公开WCF服务,客户端可以通过http协议消费它。但是如果客户端只想通过https协议来使用WCF服务,那么你需要SSL。
As long as WCF service is exposed through http protocol, client can consumed it through http protocol. But if client want to consume WCF service only through https protocol in that case you need SSL.


Mahesh是正确的。



如果您想探索并了解如何启用SSL,请按照以下文章进行操作。

1. [MSDN]如何:使用SSL配置IIS托管的WCF服务 [ ^ ]。

2. 在WCF WsHttp绑定上启用HTTPS的七个简单步骤 [ ^ ]。
Mahesh is Correct.

If you want to explore and know how to enable SSL, then follow the below articles.
1. [MSDN] How to: Configure an IIS-hosted WCF service with SSL[^].
2. Seven simple steps to enable HTTPS on WCF WsHttp bindings[^].


这篇关于如果客户端使用https,它是否需要SSL用于wcf服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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