• 11

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

I was going to HTTPS communication over SSL. What I understood is both client and server do the handshake to obtain symmetric keys for application data encryption and decryption. My doubt is when a client sends a piece of encrypted data to server then how the server will identify the client and use the corresponding keys for decryption?


The SSL/TLS handhsake happens between the client and the server. At the end of the handshake, the client and the server will have established shared keys (and MAC secrets to ensure the integrity of the communication). In case of session resumption, a session identifier can be used to associate further connections with the same key.

The rest of the connection is identified using the normal TCP mechanism (assuming SSL/TLS over TCP).

  • 0
Reply Report

Trending Tags