过期的 SSL 证书和加密
我对 Web 开发领域比较陌生,想知道过期的 SSL 证书是否会使加密变得无用,或者网站是否保持加密状态但不告诉用户有一个尚未过期的有效证书?
I am relatively new to the world of web development and wanted to know if an expired SSL certificate renders encryption useless or does the site remain encrypted however not tell the user that there is a valid certificate that has not expired?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这与自签名证书的情况完全相同。连接仍将被加密,但浏览器将警告用户“不受信任”的证书(过期或自签名)。
实际上SSL证书并没有对网页内容进行加密。它使用 AES(或用户浏览器可用的兼容对称加密)进行加密。您的 SSL 证书用于对称加密的密钥协商。
一定要浏览一些“传输层安全”文章。
This is exactly the same situation with a self-signed certificate. The connection will still be encrypted but the browser will warn the user of 'untrusted' certificate (either expired or self-signed).
Actually SSL certificate does not encrypt the contents of the web page. It is encrypted with AES (or a compatible symmetric encryption available to the user's browser). Your SSL certificate is used for key agreement for the symmetric encryption.
Definitelly skim through some "Transport Layer Security" articles.