top of page
© Copyright not allowed
Writer's pictureTechclick co_in

How to work SSL Handshake

How to work SSL Handshake -->>> Client initiates by sending a CLIENT HELLO message which contains SSL version that the client supports, in what order the client prefer the versions, Ciphersuits (Cryptographic Algorithms) supported by the client, Random Number.Client initiates by sending a CLIENT HELLO message which contains SSL version that the client supports, in what order the client prefer the versions, Ciphersuits (Cryptographic Algorithms) supported by the client, Random Number.--->> S--->> Server will send back a SERVER HELLO message Which contains Version Number (Server selects SSL version that is supported by both the server and the client), Cipher Suits (selected by server the best cipher suite version that is supported by both of them), Session ID, Random Data.erver will send back a SERVER HELLO message Which contains Version Number (Server selects SSL version that is supported by both the server and the client), Cipher Suits (selected by server the best cipher suite version that is supported by both of them), Session ID, Random Data.--->>> S--->>> Server also sends PKI certificate for authenticating himself signed and verified by Certificate Authority along with the public key for encryption.erver also sends PKI certificate for authenticating himself signed and verified by Certificate Authority along with the public key for encryption.-->>> Server will than send Server Hello Done indicating that the server has finished sending its hello message, and is waiting for a response from the client.-->>> Server will than send Server Hello Done indicating that the server has finished sending its hello message, and is waiting for a response from the client.

-->>> Client will sends its certificate if the server has also requested for client authentication in server hello message.-->>> Client will sends its certificate if the server has also requested for client authentication in server hello message.

-->>> Client will sends Client Key Exchange message after calculating the premaster secret with the help of the random values of both the server and the client. This message is sent by encrypting it with the server's public key which was shared through the hello message.-->>> Client will sends Client Key Exchange message after calculating the premaster secret with the help of the random values of both the server and the client. This message is sent by encrypting it with the server's public key which was shared through the hello message.Server will decrypt the premaster secret with its private key. Now both client and server will perform series of steps to generate session keys (symmetric) which will be used for encryption and decryption of data exchanges during SSL session and also to verify its integrity.Server will decrypt the premaster secret with its private key. Now both client and server will perform series of steps to generate session keys (symmetric) which will be used for encryption and decryption of data exchanges during SSL session and also to verify its integrity.

-->>> Client will send CHANGE CIPHER SUITE message informing the server that future messages will be encrypted using session key.-->>> Client will send CHANGE CIPHER SUITE message informing the server that future messages will be encrypted using session key.

-->> Client will send CLIENT FINISH (DONE) message indicating that client is done.-->> Client will send CLIENT FINISH (DONE) message indicating that client is done.

-->>> Server will also send CHANGE CIPHER SUITE message.-->>> Server will also send CHANGE CIPHER SUITE message.

-->> .Client will also send CLIENT FINISH (DONE) message.-->> .Client will also send CLIENT FINISH (DONE) message.


Custom alt text
0 views0 comments

Recent Posts

See All

Data Plane Vs Control plane

Data Plane: The term data plane refers to the task that a networking device does to forward messages. Example: Anything to with receiving...

HSRP Interview Questions and Answers

HSRP Interview Questions and Answers Configuration of HSRFP- What is HSRP and what is it used for? HSRP stands for Hot Standby Router...

VLAN interview questions and answers

VLAN interview questions and answers What is VLAN and how does it function? A VLAN, or Virtual Local Area Network, is a way to segment a...

bottom of page