zix
zix

Reputation: 45

Is data sent from the server also encrypted in HTTPS/SSL?

I'm using wireshark and then opening gmail and hotmail to see if I can see the HTML text sent from server to client, but I couldn't find it! Is it encrypted? I knew HTTPS encrypts client packets -- not both! Please tell me what is wrong with my information.

Upvotes: 0

Views: 302

Answers (2)

Bruno
Bruno

Reputation: 122749

HTTPS is HTTP over SSL/TLS, where SSL/TLS encrypts the connection in both directions.

During the SSL/TLS handshake, shared keys are negotiated (via the negotiation of a master secret): you get a client write key and a server write key, as described in the TLS specification (Key Calculation).

Upvotes: 1

FreeAsInBeer
FreeAsInBeer

Reputation: 12979

Yes. In SSL you and the server both have a public and a private key which is used to encrypt/decrypt sent and received data.

Upvotes: 0

Related Questions