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