I am creating a Node.js server with a secure connection based on an answer from SO.
Code from the answer,
var https = require('https');
From what i understand, there are two parts to secure connection.
- SSL handshake which does a certificate verification and symmetric key exchange.
- Encrypting the traffic with the symmetric key.
Does https
perform only SSL handshake? Does it take care of decrypting the request and encrypting the response? does it use a symmetric key algorithm? does it use AES? If it does not use symmetric key encryption, How can i do that?
Is the traffic flowing encrypted?
P.S: I have left a comment under the answer i quoted. Hope it is alright to derive questions from an answer on SO.