Difference between HTTPS and SSL

前端 未结 3 452
星月不相逢
星月不相逢 2021-01-29 21:21

What is the difference between HTTPS and SSL? I read about them and found following:

  • HTTPS: HTTPS is a combination of HTTP with SSL/TLS. It mea

3条回答
  •  悲哀的现实
    2021-01-29 22:04

    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

提交回复
热议问题