本地测试服务器,湖南长沙,自己机房里面- [root@dev ~]# curl -v https://www.bt.cn
- * Rebuilt URL to: https://www.bt.cn/
- * Trying 45.76.53.20...
- * TCP_NODELAY set
- * Connected to www.bt.cn (45.76.53.20) port 443 (#0)
- * ALPN, offering h2
- * ALPN, offering http/1.1
- * successfully set certificate verify locations:
- * CAfile: /etc/pki/tls/certs/ca-bundle.crt
- CApath: none
- * TLSv1.3 (OUT), TLS handshake, Client hello (1):
- * TLSv1.3 (IN), TLS handshake, Server hello (2):
- * TLSv1.3 (IN), TLS handshake, [no content] (0):
- * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
- * TLSv1.3 (IN), TLS handshake, [no content] (0):
- * TLSv1.3 (IN), TLS handshake, Certificate (11):
- * TLSv1.3 (IN), TLS handshake, [no content] (0):
- * TLSv1.3 (IN), TLS handshake, CERT verify (15):
- * TLSv1.3 (IN), TLS handshake, [no content] (0):
- * TLSv1.3 (IN), TLS handshake, Finished (20):
- * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
- * TLSv1.3 (OUT), TLS handshake, [no content] (0):
- * TLSv1.3 (OUT), TLS handshake, Finished (20):
- * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
- * ALPN, server accepted to use h2
- * Server certificate:
- * subject: C=CN; ST=\U5E7F\U4E1C\U7701; O=\U5E7F\U4E1C\U5821\U5854\U5B89\U5168\U6280\U672F\U6709\U9650\U516C\U53F8; CN=*.bt.cn
- * start date: Sep 7 00:00:00 2022 GMT
- * expire date: Oct 8 23:59:59 2023 GMT
- * subjectAltName: host "www.bt.cn" matched cert's "*.bt.cn"
- * issuer: C=CN; O=sslTrus; CN=sslTrus (RSA) OV CA
- * SSL certificate verify ok.
- * Using HTTP2, server supports multi-use
- * Connection state changed (HTTP/2 confirmed)
- * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
- * TLSv1.3 (OUT), TLS app data, [no content] (0):
- * TLSv1.3 (OUT), TLS app data, [no content] (0):
- * TLSv1.3 (OUT), TLS app data, [no content] (0):
- * Using Stream ID: 1 (easy handle 0x563496d1e540)
- * TLSv1.3 (OUT), TLS app data, [no content] (0):
- > GET / HTTP/2
- > Host: www.bt.cn
- > User-Agent: curl/7.61.1
- > Accept: */*
- >
- * TLSv1.3 (IN), TLS handshake, [no content] (0):
- * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
- * TLSv1.3 (IN), TLS handshake, [no content] (0):
- * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
- * TLSv1.3 (IN), TLS app data, [no content] (0):
- * Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
- * TLSv1.3 (OUT), TLS app data, [no content] (0):
- * TLSv1.3 (IN), TLS app data, [no content] (0):
- < HTTP/2 302
- < server: nginx
- < date: Wed, 07 Dec 2022 10:02:46 GMT
- < content-type: text/html; charset=utf-8
- < set-cookie: PHPSESSID=1k2noodb9mpk93tfi9u334e5gk; expires=Fri, 09-Dec-2022 10:02:46 GMT; Max-Age=172800; path=/
- < expires: Thu, 19 Nov 1981 08:52:00 GMT
- < pragma: no-cache
- < set-cookie: login_key=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
- < set-cookie: _idc_cookie_code=%7B%7D; path=/; secure; HttpOnly
- < cache-control: no-cache,must-revalidate
- < location: /new/index.html
- < strict-transport-security: max-age=31536000; includeSubdomains; preload
- < strict-transport-security: max-age=31536000
- <
- * Connection #0 to host www.bt.cn left intact
复制代码
|