Reputation: 282
I have a question about security.
When I visit a website over HTTPS, data sent from the browser is encrypted. But what about data received from the server?
For example, if visited pages display confidential information, how can this information be encrypted on server side and decrypted on client side, given that the browser doesn't know the private SSL key?
Upvotes: 1
Views: 187
Reputation: 4306
When you start an https session, your browser and the server negotiate a session key. This key is what is used to encrypt data that you send to the server, and data the server sends to you. The server's public key is only used to authenticate the server and initiate the handshake.
Upvotes: 2