|
1
锥子,斜技…
|
|
xman99Jan 3, 2018
2
请描述清楚, 是锤子, 不是锥子,哈哈哈
|
|
linescapeJan 3, 2018
3
人压根没配,是你多加了 s 而已
|
|
riggzhJan 3, 2018
4
http t.tt 会跳 https://www.smartisan.com/
|
|
f2f2fJan 3, 2018
5
301 跳转的为啥还要给配 https ……
|
|
7
@linescape #3 配了的,Chrome 的报错是 net::ERR_CERT_COMMON_NAME_INVALID,证书信息可以看到是 *.smartisan.com 的
|
|
davidyinJan 3, 2018
8
这里显示的超时。没有跳转。
|
|
q409195961Jan 3, 2018
9
3L 正解
|
|
wsly47Jan 3, 2018 via iPhone
10
|
|
forsamJan 3, 2018
11
总想搞些大新闻
|
|
riggzhJan 3, 2018
12
|
|
14
锤子!! 科技!!
你想决战优酷吗! |
|
PanicJan 3, 2018
15
不够体面啊
|
|
rrfengJan 3, 2018
16
说实话这些小细节真的不是每个人(运维)都能考虑到的。
|
|
PharielJan 3, 2018
17
锥子斜技
楼主是五笔玩家么??? |
|
dangyuluoJan 3, 2018
18
|
|
realpgJan 3, 2018
20
人家根本没开 https 服务 443 上跑的是 smartisan 的网站
|
|
ouqihangJan 3, 2018
21
楼主故意打错字,估计是想避免纠纷什么的,老罗可不好惹,V 站的贴又很容易搜到。
|
|
22
|
|
23
@linescape @q409195961 t.tt 的 443 是开了的,只不过是 smartisan.com 的网站。这不叫“没配啊”
https://gist.github.com/laixintao/21771e85ddd5d06da932dd8e3a965be3 这个就是 443 握手成功,但是获得的证书里面不包含 t.tt 域名。这里要么给 t.tt 申请一个域名 https 要么证书换成多域名的加上 t.tt @f2f2f 301 也是 HTTP 的状态码,为什么 301 也要配 HTTPS 跳转,就和为什么要配 HTTPS 答案一样。想要安全,就用 TLS 建立连接了才拿到 301 状态码。 @realpg 说没开也不准确吧, 如果没开应该把 host 是 t.tt 的 443 端口请求直接关掉吧。 |
|
logOoJan 3, 2018
24
|
|
wwqgtxxJan 3, 2018 via iPhone
25
|
|
xi2008wangJan 3, 2018
26
200 万买的域名,证书都懒得买
|
|
scriptB0yJan 3, 2018
27
@wwqgtxx cdn 也可以关闭 443 吧。我觉得“关闭来自 t.tt 的 443 ”比“把来自 t.tt 的 443 的请求转发到 www.smartisan.com 的 443 ”更合适一些吧? 虽然两者都是错误……
|
|
TinetJan 3, 2018
28
五笔用户,而且应该上了年纪了,字都不记得怎么写了
|
|
wwqgtxxJan 3, 2018 via iPhone
29
@scriptB0y 看来你是没配置过 cdn,一般 cdn 回源的时候不管你前台是 http 还是 https 后端都是走同一个协议回源真正的服务器(当然也可以配置成选择性回源),在访问 https://t.tt 的时候 403 只是因为访问 http://t.tt 的时候也是 403 到 https://www.smartisan.com/仅此而已,人家维护人员都懒得给 t.tt 配置个证书还指望人家专门加个配置把 t.tt 的 https 访问关掉?多此一举
|
|
wwqgtxxJan 3, 2018 via iPhone
30
@scriptB0y 而且你去手动 nslookup 一下就知道 t.tt 和 www.smartisan.com 是解析到同一个 cdn 的,直接把 t.tt 的 443 端口关了,你让 https://www.smartisan.com/ 怎么访问
|
|
wwqgtxxJan 3, 2018 via iPhone
33
@liuxu623 虽然在 nginx 或者其他服务器配置中的确可以关闭指定 host 的 https 的访问,但是有那个功夫干嘛不配置个 https 证书,不就是运维啥都没配置而已么…
|
|
liuxu623Jan 3, 2018 via Android
34
|
|
wwqgtxxJan 3, 2018
36
|
|
wwqgtxxJan 3, 2018 via iPhone
39
质量->智商
|
|
liuxu623Jan 3, 2018 via Android
40
|
|
wwqgtxxJan 3, 2018 via iPhone
41
|
|
liuxu623Jan 3, 2018 via Android
42
|
|
wwqgtxxJan 3, 2018
43
|
|
lyhivingJan 3, 2018 via Android
45
一些浏览器会一 s 到底,所以锤子申请个免费的换上去就可以了。都散了吧
|
|
banro512Jan 3, 2018 via Android
46
打起来了
哈哈 |
|
serverJan 3, 2018
47
锥子斜技
|
|
tylerdurdenJan 3, 2018
48
好像问题已经解决了?
|
|
scriptB0yJan 3, 2018
49
@tylerdurden 是的已经解决了,证书没问题了。
curl -Iv https://t.tt * Rebuilt URL to: https://t.tt/ * Trying 140.143.179.117... * TCP_NODELAY set * Connected to t.tt (140.143.179.117) 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-AES128-GCM-SHA256 * ALPN, server accepted to use http/1.1 * Server certificate: * subject: C=CN; ST=BeiJing; L=BeiJing; O=Smartisan Technology Co.,LTD.; OU=IT Dept; CN=www.t.tt * start date: Aug 24 00:00:00 2016 GMT * expire date: Aug 24 23:59:59 2019 GMT * subjectAltName: host "t.tt" matched cert's "t.tt" * issuer: C=US; O=GeoTrust Inc.; CN=GeoTrust SSL CA - G3 * SSL certificate verify ok. > HEAD / HTTP/1.1 > Host: t.tt > User-Agent: curl/7.54.0 > Accept: */* > < HTTP/1.1 301 Moved Permanently HTTP/1.1 301 Moved Permanently < Date: Wed, 03 Jan 2018 06:21:01 GMT Date: Wed, 03 Jan 2018 06:21:01 GMT < Content-Type: text/html Content-Type: text/html < Content-Length: 178 Content-Length: 178 < Connection: keep-alive Connection: keep-alive < Location: https://www.smartisan.com Location: https://www.smartisan.com < Server: ARTWS/1.0 Server: ARTWS/1.0 < X-XSS-Protection: 1;mode=block X-XSS-Protection: 1;mode=block < * Connection #0 to host t.tt left intact |
|
tylerdurdenJan 3, 2018
50
issue closed,next !
|
|
dobeleeJan 3, 2018
51
锥子斜技...笑尿了。。。
|
|
jason19659Jan 3, 2018
52
66666
|
|
Terry05Jan 3, 2018
53
不怕老罗找你上优酷吗?
|
|
54
|
|
salmon5Jan 3, 2018
55
openssl s_client -connect t.tt:443 2>&1 | openssl x509 -text |grep -A1 "Subject Alternative Name"
X509v3 Subject Alternative Name: DNS:static.smartisanos.cn, DNS:dl2.smartisan.cn, DNS:www.t.tt, DNS:t.tt 这个还是有必要的,这就是一个运维的情怀,不是 60 分就行了,90-100 分才行。 HSTS 也是必要的。 |
|
msg7086Jan 4, 2018
57
看到有人说 IP 上的端口可以根据 host 选择性关闭我就笑了。v2 大了什么智商的鸟都来了。
|