http2测试、HTTP/2检测、http2 check、http/2 test

HTTP/2 (超文本传输协议的第2版),简称h2 ,它是HTTP协议第二个版本,基于TLS/1.2或以上版本的加密连接协议。HTTP/2的标准化工作由Chrome、Opera、Firefox[6]、Internet Explorer 11、Safari、Amazon Silk及Edge等浏览器提供支持。HTTP/2的开发基于SPDY协议的,HTTP2特点有:tls加密传输,TCP多路复用,HTTP header头压缩等。我们传统https站点,采用http2后,页面加载速度会更快、带宽消耗会降低。目前http2在国内大型站点已经被使用,如果我们站点已经申请好了https 证书,只需要修改web 容器配置,就可以让它支持HTTP2。 当然,http2配置有更高要求,如果你站点已经启用http2 ,可以通过该工具测试一下,是否真的生效了。
  
测试结果:

不支持HTTP2!

Trying 220.181.38.150:443...
TCP_NODELAY set
Connected to www.baidu.com (220.181.38.150) port 443 (#0)
Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
successfully set certificate verify locations:

TLSv1.2 (OUT), TLS handshake, Client hello (1):
TLSv1.2 (IN), TLS handshake, Server hello (2):
NPN, negotiated HTTP1.1
TLSv1.2 (IN), TLS handshake, Certificate (11):
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
TLSv1.2 (IN), TLS handshake, Server finished (14):
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
TLSv1.2 (OUT), TLS handshake, Next protocol (67):
TLSv1.2 (OUT), TLS handshake, Finished (20):
TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
TLSv1.2 (IN), TLS handshake, Finished (20):
SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256

Server certificate:
subject: C=CN; ST=beijing; L=beijing; OU=service operation department; O=Beijing Baidu Netcom Science Technology Co., Ltd; CN=baidu.com
start date: May 9 01:22:02 2019 GMT
expire date: Jun 25 05:31:02 2020 GMT
issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Organization Validation CA - SHA256 - G2
SSL certificate verify ok.
Mark bundle as not supporting multiuse
Connection #0 to host www.baidu.com left intact
请输入地址
请输入地址