SSL 通信期间 Web 服务器上是否需要私钥?

编程入门 行业动态 更新时间:2024-10-24 00:17:53
本文介绍了SSL 通信期间 Web 服务器上是否需要私钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在 SSL 通信期间,Web 服务器上是否需要私钥?我读过:

Does private key is required on web server during SSL communication? I've read:

在 SSL 中,每一方使用随机数单独计算密钥双方已知的值.双方然后发送加密的消息使用密钥

In SSL, each party calculates the secret key individually using random values known to each side. The parties then send messages encrypted using the secret key

私钥是为会话随机生成的密钥,不是存储.

The private key is a randomly generated key for the session and is not stored.

以上引文涉及 Oracle 应用服务器 SSL 通信,但我认为应该涉及一般 SSL 通信.您能解释一下,私钥的作用是什么(到目前为止,我认为在 SSL 期间 Web 服务器上需要私钥).

Above quotations relate Oracle Application Server SSL communication, but I think it should concern general SSL communication. Could you explain, what is role of private key (so far I think private key is required on web server during SSL).

推荐答案

是的,在 SSL 握手期间需要私钥,因为它用于证明服务器确实是已部署证书的公钥的所有者.但是公钥/私钥对不用于加密应用程序消息.它们仅用于握手过程中,通过传输到客户端的加密参数创建一个共享密钥,以便计算它并用于对称数据加密.握手成功完成.

Yes, the private key is required during the SSL handshake as it is used to prove that the server is indeed the owner of the Public Key of the deployed certificate. But the Public/Private key pair are not used for encryption of the application messages. They are used only in the handshake which creates in the process a shared key by cryptographic parameters transmitted to the client in order to calculate it and used for the symmetric encryption of data after the handshake completes succesfully.

更多推荐

SSL 通信期间 Web 服务器上是否需要私钥?

本文发布于:2023-10-29 03:33:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1538604.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:器上   通信   SSL   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!