使用带证书的 WCF WsHttpBinding 和带 SSL 的 HTTP 之间的区别

发布于 2024-10-02 11:42:25 字数 184 浏览 0 评论 0原文

我在项目中使用 wsHttpBidning 进行证书身份验证。我了解该证书用于加密通过网络发送的日期和身份验证。

它与通过 SS 使用 HTTPS URL 有何不同。即使在这里我们也使用证书,唯一的区别是它使用安全端口进行数据通信。

有人可以解释一下我什么时候应该使用 Https/SSL 而不是带有证书的 HTTP 吗?

I am using wsHttpBidning with certificate authentication in my project. i understand the certificate is used to encrypt the date sent over the network and authentication as well.

how is it different from using HTTPS URL over SS. even here also we us certificate and only difference is it uses secured port for data communication.

Can someone explain me when should i use Https/SSL instead of HTTP with certificate?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一笑百媚生 2024-10-09 11:42:25

证书可用于不同的目的。在您的场景(wsHttpBidning)中,它用于向消费者验证服务。这只是身份验证,与 SSL 无关。但是要SSL 工作,您需要一对非对称密钥(在用于设置会话对称密钥的 SSL 握手)和证书只是此类密钥的容器。

Certificates can be used for different purposes. In your scenario (wsHttpBidning) it's used to authenticate the service to consumers. It's just identity check and has nothing to do with SSL. But for SSL to work you need a pair of asymmetric keys (used during SSL handshake to setup session symmetric key) and certificates are just containers for such keys.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文