討論:HTTPS:修訂版本之間的差異
出自福留子孫
| (未顯示同用戶所作出之3次版本) | |||
| 第 1 行: | 第 1 行: | ||
| + | 透過 https://jendo.org:5001/ 可用,知道 DS216 的 HTTPS 是打開的,只是憑證(群暉發的)過期 | ||
| + | |||
| + | 但 DS216 上其他的 HTTPS 請求都被轉成 HTTP | ||
| + | |||
參考資料: | 參考資料: | ||
#[https://blog.csdn.net/lamp_yang_3533/article/details/52143970 PHP中如何使用socket进行通信?] | #[https://blog.csdn.net/lamp_yang_3533/article/details/52143970 PHP中如何使用socket进行通信?] | ||
| 第 16 行: | 第 20 行: | ||
server: cloudflare | server: cloudflare | ||
vary: Accept-Encoding | vary: Accept-Encoding | ||
| + | |||
| + | 200 OK</pre> | ||
| + | 回應 | ||
| + | <pre>1-AA | ||
| + | check1:HTTP/1.1 400 Bad Request Server: nginx/1.13.6 Date: Fri, 06 Jul 2018 07:07:21 GMT Content-Type: text/html Content-Length: 271 Connection: close | ||
| + | 400 Bad Request | ||
| + | The plain HTTP request was sent to HTTPS port | ||
| + | --------------------------------------------- | ||
| + | nginx/1.13.6</pre> | ||
| + | |||
| + | https://zh.wikipedia.org/wiki/QR碼?action=render | ||
| + | 回應頭 | ||
| + | <pre>X-Firefox-Spdy: h2 | ||
| + | accept-ranges: bytes | ||
| + | age: 0 | ||
| + | backend-timing: D=74582 t=1530854979853080 | ||
| + | cache-control: private, s-maxage=0, max-age=0, must-revalidate | ||
| + | content-encoding: gzip | ||
| + | content-language: zh | ||
| + | content-type: text/html; charset=UTF-8 | ||
| + | date: Fri, 06 Jul 2018 05:29:40 GMT | ||
| + | expires: Thu, 01 Jan 1970 00:00:00 GMT | ||
| + | p3p: CP="This is not a P3P policy! See https://zh.wikipedia.org/wiki/Special:CentralAutoLogin/P3P for more info." | ||
| + | server: mw1261.eqiad.wmnet | ||
| + | strict-transport-security: max-age=106384710; includeSubDomains; preload | ||
| + | vary: Accept-Encoding,Cookie,Accept-Language,Authorization | ||
| + | via: 1.1 varnish (Varnish/5.1), 1.1 varnish (Varnish/5.1), 1.1 varnish (Varnish/5.1), 1.1 varnish (Varnish/5.1) | ||
| + | x-analytics: WMF-Last-Access=06-Jul-2018;WMF-Last-Access-Global=06-Jul-2018;https=1 | ||
| + | x-cache: cp1054 pass, cp2019 pass, cp5009 pass, cp5009 pass | ||
| + | x-cache-status: pass | ||
| + | x-client-ip: 114.34.111.131 | ||
| + | x-content-type-options: nosniff | ||
| + | x-powered-by: HHVM/3.18.6-dev | ||
| + | x-robots-tag: noindex | ||
| + | x-varnish: 152016768, 567268542, 753398000, 474044987 | ||
200 OK</pre> | 200 OK</pre> | ||
2018年7月6日 (五) 16:15的最新修訂版本
透過 https://jendo.org:5001/ 可用,知道 DS216 的 HTTPS 是打開的,只是憑證(群暉發的)過期
但 DS216 上其他的 HTTPS 請求都被轉成 HTTP
參考資料:
- PHP中如何使用socket进行通信?
- 通过Socket进行HttP/HTTPS网页操作(ASP)
- 对HTTP、HTTPS、Socket的理解以及三者的关系
- TCP/IP SOCKET HTTP及HTTPS之间的关系及各自特性
回應頭
X-Firefox-Spdy: h2 cf-ray: 435fb03e5a095390-LAX content-encoding: br content-type: text/html; charset=UTF-8 date: Fri, 06 Jul 2018 05:32:02 GMT expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" server: cloudflare vary: Accept-Encoding 200 OK
回應
1-AA check1:HTTP/1.1 400 Bad Request Server: nginx/1.13.6 Date: Fri, 06 Jul 2018 07:07:21 GMT Content-Type: text/html Content-Length: 271 Connection: close 400 Bad Request The plain HTTP request was sent to HTTPS port --------------------------------------------- nginx/1.13.6
https://zh.wikipedia.org/wiki/QR碼?action=render 回應頭
X-Firefox-Spdy: h2 accept-ranges: bytes age: 0 backend-timing: D=74582 t=1530854979853080 cache-control: private, s-maxage=0, max-age=0, must-revalidate content-encoding: gzip content-language: zh content-type: text/html; charset=UTF-8 date: Fri, 06 Jul 2018 05:29:40 GMT expires: Thu, 01 Jan 1970 00:00:00 GMT p3p: CP="This is not a P3P policy! See https://zh.wikipedia.org/wiki/Special:CentralAutoLogin/P3P for more info." server: mw1261.eqiad.wmnet strict-transport-security: max-age=106384710; includeSubDomains; preload vary: Accept-Encoding,Cookie,Accept-Language,Authorization via: 1.1 varnish (Varnish/5.1), 1.1 varnish (Varnish/5.1), 1.1 varnish (Varnish/5.1), 1.1 varnish (Varnish/5.1) x-analytics: WMF-Last-Access=06-Jul-2018;WMF-Last-Access-Global=06-Jul-2018;https=1 x-cache: cp1054 pass, cp2019 pass, cp5009 pass, cp5009 pass x-cache-status: pass x-client-ip: 114.34.111.131 x-content-type-options: nosniff x-powered-by: HHVM/3.18.6-dev x-robots-tag: noindex x-varnish: 152016768, 567268542, 753398000, 474044987 200 OK