@
dfly0603 会重定向到 http 的,这和没有有什么区别?
➜ ~ curl
https://yys.163.com/m/ -v
* Trying 101.227.102.199...
* TCP_NODELAY set
* Connected to
yys.163.com (101.227.102.199) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* 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, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=CN; ST=Zhejiang; L=Hangzhou; O=NetEase (Hangzhou) Network Co., Ltd; OU=Game Dept; CN=
yys.163.com* start date: Dec 8 00:00:00 2016 GMT
* expire date: Dec 8 23:59:59 2018 GMT
* subjectAltName: host "
yys.163.com" matched cert's "
yys.163.com"
* issuer: C=US; O=GeoTrust Inc.; CN=GeoTrust SSL CA - G3
* SSL certificate verify ok.
> GET /m/ HTTP/1.1
> Host:
yys.163.com> User-Agent: curl/7.54.0
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 301 Moved Permanently
< Server: Cdn Cache Server V2.0
< Date: Wed, 04 Oct 2017 15:36:10 GMT
< Content-Length: 0
< Location:
http://yys.163.com/<
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, Client hello (1):