【发布时间】:2020-03-20 21:12:36
【问题描述】:
我不太了解 SSL 和证书在服务器和浏览器之间的工作方式。所以我从这个网站上得到了一些关于这个的文章 http://www.tldp.org/HOWTO/SSL-Certificates-HOWTO/x64.html 不管他们说什么我都不太清楚
他们说
1) A browser requests a secure page (usually https://).
2) The web server sends its public key with its certificate.
3) The browser checks that the certificate was issued by a trusted party
(usually a trusted root CA), that the certificate is still valid and that the
certificate is related to the site contacted.
4) The browser then uses the public key, to encrypt a random symmetric
encryption key and sends it to the server with the encrypted URL required
as well as other encrypted http data.
5) The web server decrypts the symmetric encryption key using
its private key and uses the symmetric key to decrypt the URL and http data.
6) The web server sends back the requested html document and
http data encrypted with the symmetric key.
7) The browser decrypts the http data and html document using
the symmetric key and displays the information.
见第2点
浏览器请求安全页面,网络服务器只是将带有证书的公钥发送给浏览器,没有页面或数据?
如果可能,请讨论浏览器请求任何 https 页面时会发生什么。谢谢
【问题讨论】:
标签: ssl certificate