Pular para o conteúdo

How Does HTTPS Works?

    HTTPS is a more secure version of HTTP, which uses encryption to ensure the privacy and integrity of information exchanged between clients and servers on the web. Let’s address the main components of the process: client and server, TCP handshake, certificate verification, key exchange, and data transmission.

    how-does-https-works
    Image: How Does HTTPS Works?
    • Client and server: As with HTTP, the client (usually a web browser) requests information from the server through an HTTPS request. The server processes the request and responds with the requested data or a status indicating the result of the operation.
      .
    • TCP Handshake: The “TCP handshake” process occurs in the same way as in HTTP, establishing the connection between client and server through the SYN, SYN-ACK, and ACK packets.
      .
    • Certificate verification: In HTTPS, communication is protected by an SSL/TLS certificate. The server presents its certificate to the client, which verifies its validity with a trusted certificate authority (CA). This process ensures the authenticity and security of the server.
      .
    • Key exchange: After certificate verification, the negotiation of cryptographic keys takes place between the client and server, usually using the Diffie-Hellman key exchange algorithm. Both parties generate a shared secret key, used to encrypt and decrypt the transmitted information.
      .
    • Data transmission: With the connection established and the shared secret key, the client sends its HTTPS requests to the server, which processes and responds with the requested data or status. The data is transmitted in packets, encrypted with the secret key, ensuring the confidentiality and integrity of communication.

    The HTTPS protocol is a secure version of HTTP, which uses encryption to protect communication between clients and servers on the web. The main components of the process are similar to those of HTTP, including client and server, TCP handshake, and data transmission. However, in HTTPS, certificate verification and key exchange ensure the authenticity and security of the server and the privacy of the transmitted information.

     

    Image by Hacker Combat™

     

    * * * * *

     

    Deixe um comentário

    O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

    Esse site utiliza o Akismet para reduzir spam. Aprenda como seus dados de comentários são processados.