RT-BE88U install 3006.102.4_beta2
ssh login to router, and curl https website will failed.
ssh login to router, and curl https website will failed.
Bash:
admin@RT-BE88U-3968:/tmp/home/root# curl http://www.baidu.com/
<!DOCTYPE html>
<!--STATUS OK--><html> <head><meta http-equiv=content-type content=text/html;charset=utf-8><meta http-equiv=X-UA-Compatible content=IE=Edge><meta content=always name=referrer><link rel=stylesheet type=text/css href=http://s1.bdstatic.com/r/www/cache/bdorz/baidu.min.css><title>百度一下,你就知道</title></head> <body link=#0000cc> <div id=wrapper> <div id=head> <div class=head_wrapper> <div class=s_form> <div class=s_form_wrapper> <div id=lg> <img hidefocus=true src=//www.baidu.com/img/bd_logo1.png width=270 height=129> </div> <form id=form name=f action=//www.baidu.com/s class=fm> <input type=hidden name=bdorz_come value=1> <input type=hidden name=ie value=utf-8> <input type=hidden name=f value=8> <input type=hidden name=rsv_bp value=1> <input type=hidden name=rsv_idx value=1> <input type=hidden name=tn value=baidu><span class="bg s_ipt_wr"><input id=kw name=wd class=s_ipt value maxlength=255 autocomplete=off autofocus></span><span class="bg s_btn_wr"><input type=submit id=su value=百度一下 class="bg s_btn"></span> </form> </div> </div> <div id=u1> <a href=http://news.baidu.com name=tj_trnews class=mnav>新闻</a> <a href=http://www.hao123.com name=tj_trhao123 class=mnav>hao123</a> <a href=http://map.baidu.com name=tj_trmap class=mnav>地图</a> <a href=http://v.baidu.com name=tj_trvideo class=mnav>视频</a> <a href=http://tieba.baidu.com name=tj_trtieba class=mnav>贴吧</a> <noscript> <a href=http://www.baidu.com/bdorz/login.gif?login&tpl=mn&u=http%3A%2F%2Fwww.baidu.com%2f%3fbdorz_come%3d1 name=tj_login class=lb>登录</a> </noscript> <script>document.write('<a href="http://www.baidu.com/bdorz/login.gif?login&tpl=mn&u='+ encodeURIComponent(window.location.href+ (window.location.search === "" ? "?" : "&")+ "bdorz_come=1")+ '" name="tj_login" class="lb">登录</a>');</script> <a href=//www.baidu.com/more/ name=tj_briicon class=bri style="display: block;">更多产品</a> </div> </div> </div> <div id=ftCon> <div id=ftConw> <p id=lh> <a href=http://home.baidu.com>关于百度</a> <a href=http://ir.baidu.com>About Baidu</a> </p> <p id=cp>©2017 Baidu <a href=http://www.baidu.com/duty/>使用百度前必读</a> <a href=http://jianyi.baidu.com/ class=cp-feedback>意见反馈</a> 京ICP证030173号 <img src=//www.baidu.com/img/gs.gif> </p> </div> </div> </div> </body> </html>
admin@RT-BE88U-3968:/tmp/home/root# curl -vvv https://www.baidu.com/
20:14:43.482663 [0-0] => Send SSL data, 5 bytes (0x5)
0000: .....
20:14:43.482958 [0-0] == Info: TLSv1.3 (OUT), TLS handshake, Client hello (1):
20:14:43.483093 [0-0] => Send SSL data, 512 bytes (0x200)
0000: .......?S.laB....F.Cn:..^\..5....h...7 Qf:.....zO1.0...c,*..l...
0040: ..Y.....>.............,.0...+./...$.(.k.#.'.g.....9.....3.....=.
0080: <.5./.....u.........www.baidu.com...............................
00c0: ..........http/1.1.........1.....*.(............................
0100: .............+............-.....3.&.$... A...|..^....d....H.....
0140: ....k...........................................................
0180: ................................................................
01c0: ................................................................
20:14:43.560982 [0-0] <= Recv SSL data, 5 bytes (0x5)
0000: ....f
20:14:43.561181 [0-0] == Info: TLSv1.3 (IN), TLS handshake, Server hello (2):
20:14:43.561312 [0-0] <= Recv SSL data, 102 bytes (0x66)
0000: ...b..h.e......@.o.....;A.....L'...S.. .............C.....59....
0040: ~].a..../...............http/1.1......
20:14:43.561709 [0-0] <= Recv SSL data, 5 bytes (0x5)
0000: .....
20:14:43.561873 [0-0] == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
20:14:43.562028 [0-0] <= Recv SSL data, 4772 bytes (0x12a4)
0000: .........********.....p
20:14:43.575255 [0-0] <= Recv SSL data, 5 bytes (0x5)
0000: ....M
20:14:43.575431 [0-0] == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
20:14:43.575592 [0-0] <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.......)...XOL}.=.2....N..i.......'${...X.M.....v....2..
0040: .F%...{.............D..Q.....J1i....E.........FMgsi...l..d..b...
0080: .N@GT3.o'^^j..J.....k\..:.^b..#.I.E..:Y{....a3S3.-G..;....b.....
00c0: .o.....mD.=."xu.+..S..f...........H|..r...%.6.;7.3..%...i....h..
0100: ..1....u.X$..q.[..5...HH]/'/.,..K.V.........&&!.?...iH.~........
0140: ./..6.2W...9.
20:14:43.576841 [0-0] <= Recv SSL data, 5 bytes (0x5)
0000: .....
20:14:43.576987 [0-0] == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
20:14:43.577143 [0-0] <= Recv SSL data, 4 bytes (0x4)
0000: ....
20:14:43.578015 [0-0] => Send SSL data, 5 bytes (0x5)
0000: ....F
20:14:43.578157 [0-0] == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
20:14:43.578318 [0-0] => Send SSL data, 70 bytes (0x46)
0000: ...BA.f.B].("..=......T......u...g.....~Ge...I..6.?.0......P.(.&
0040: )~....
20:14:43.578796 [0-0] => Send SSL data, 5 bytes (0x5)
0000: .....
20:14:43.578930 [0-0] == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
20:14:43.579099 [0-0] => Send SSL data, 1 bytes (0x1)
0000: .
20:14:43.579347 [0-0] => Send SSL data, 5 bytes (0x5)
0000: ....(
20:14:43.579445 [0-0] == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
20:14:43.579541 [0-0] => Send SSL data, 16 bytes (0x10)
0000: ....\Lc.........
20:14:43.602945 [0-0] <= Recv SSL data, 5 bytes (0x5)
0000: .....
20:14:43.603125 [0-0] <= Recv SSL data, 5 bytes (0x5)
0000: ....(
20:14:43.603320 [0-0] == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
20:14:43.603462 [0-0] <= Recv SSL data, 16 bytes (0x10)
0000: ....]....8/..s..
20:14:43.603897 [0-0] => Send SSL data, 5 bytes (0x5)
0000: ....e
20:14:43.604067 [0-0] => Send header, 77 bytes (0x4d)
0000: GET / HTTP/1.1
0010: Host: www.baidu.com
0025: User-Agent: curl/8.10.1
003e: Accept: */*
004b:
20:14:43.626910 [0-0] <= Recv SSL data, 5 bytes (0x5)
0000: .....
20:14:43.627072 [0-0] => Send SSL data, 5 bytes (0x5)
0000: .....
20:14:43.627225 [0-0] == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
20:14:43.627378 [0-0] => Send SSL data, 2 bytes (0x2)
0000: .F
20:14:43.627513 [0-0] == Info: OpenSSL SSL_read: OpenSSL/3.0.15: error:0A00010B:SSL routines::wrong version number, errno 0
curl: (56) OpenSSL SSL_read: OpenSSL/3.0.15: error:0A00010B:SSL routines::wrong version number, errno 0