Difference between HTTPS and SSL

The explanation of SSL that you’ve found is wrong.

SSL (Secure Socket Layer) or TLS (Transport Layer Security) works on top of the transport layer, in your examples TCP. TLS can be used for more or less any protocol, HTTPS is just one common instance of it.

HTTP is an application layer protocol.

In regular, non-encrypted HTTP, the protocol stack can look like this:

  • HTTP
  • TCP
  • IP
  • Ethernet

When using HTTPS, the stack looks like this:

  • HTTP
  • TLS (SSL)
  • TCP
  • IP
  • Ethernet

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)