ALPN 和 SNI
ALPN(应用层协议协商扩展)和 SNI(服务器名称指示)是 TLS 握手扩展:
- ALPN: 允许将 TLS 服务器用于多种协议(HTTP,HTTP/2)
- SNI: 允许将 TLS 服务器用于具有不同 SSL 证书的多个主机名。
ALPN (Application-Layer Protocol Negotiation Extension) and SNI (Server Name Indication) are TLS handshake extensions:
- ALPN: Allows the use of one TLS server for multiple protocols (HTTP, HTTP/2)
- SNI: Allows the use of one TLS server for multiple hostnames with different SSL certificates.