Title: HTTPS 温故知新(一) —— 开篇
Open Graph Title: HTTPS 温故知新(一) —— 开篇
X Title: HTTPS 温故知新(一) —— 开篇
Open Graph Description: 一、为什么需要 HTTPS HTTP1.1 有以下安全性问题: 1. 使用明文(不加密)进行通信,内容可能会被窃听; 2. 不验证通信方的身份,通信方的身份有可能遭遇伪装; 3. 无法证明报文的完整性,报文有可能遭篡改。 由于 HTTP 设计之初没有考虑到这几点,所以基于 HTTP 的这些应用都会存在安全问题。 1. 数据没有加密 基于 TCP/IP 的网络,网络各处都会存在被监听的风险。而且如果用 HTTP 协议进行通信,HTTP 本身没有加密功能,所以也无法做到对通信整体(使用 HTTP 协议通信的请求和响应的内容)进行加密。即,HTTP 报文使用明文(指未经过加密的报文)方式发送。 像上图表示的那样,在互联网各个环节都可能被监听。就算是加密通信,也能被监听到通信内容,只不过监听者看到的是密文。
X Description: 一、为什么需要 HTTPS HTTP1.1 有以下安全性问题: 1. 使用明文(不加密)进行通信,内容可能会被窃听; 2. 不验证通信方的身份,通信方的身份有可能遭遇伪装; 3. 无法证明报文的完整性,报文有可能遭篡改。 由于 HTTP 设计之初没有考虑到这几点,所以基于 HTTP 的这些应用都会存在安全问题。 1. 数据没有加密 基于 TCP/IP 的网络,网络各处都会存在被监听的风险。而且如果用 HTTP 协议进行通信,HTTP 本身没有加密功能,所以也无法做到对通信整体(使用 HTTP 协议通信的请求和响应的内容)进行加密。即,HTTP 报文使用明文(指未经过加密的报文)方式发送。 像上图表示的那样,在互联网各个环节都可能被监听。就算是加密通信,也能被监听到通信内容,只不过监听者看到的是密文。
Opengraph URL: https://halfrost.com/https-begin/
X: @halffrost
Generator: Ghost 5.19
Domain: halfrost.com
{
"@context": "https://schema.org",
"@type": "Article",
"publisher": {
"@type": "Organization",
"name": "Halfrost's Field | 冰霜之地",
"url": "https://halfrost.com/",
"logo": {
"@type": "ImageObject",
"url": "https://img.halfrost.com/2020/07/logo_.png"
}
},
"author": {
"@type": "Person",
"name": "一缕殇流化隐半边冰霜",
"image": {
"@type": "ImageObject",
"url": "https://img.halfrost.com/Blog/ArticleTitleImage/me.jpg",
"width": 640,
"height": 640
},
"url": "https://halfrost.com/author/halfrost/",
"sameAs": [
"https://halfrost.com",
"https://www.facebook.com/halffrost",
"https://twitter.com/halffrost"
]
},
"headline": "HTTPS 温故知新(一) —— 开篇",
"url": "https://halfrost.com/https-begin/",
"datePublished": "2019-01-13T13:31:00.000Z",
"dateModified": "2026-07-07T04:31:10.000Z",
"image": {
"@type": "ImageObject",
"url": "https://img.halfrost.com/Blog/ArticleTitleImage/95_0_0.png",
"width": 1920,
"height": 1080
},
"keywords": "Protocol, HTTPS",
"description": "一、为什么需要 HTTPS\nHTTP1.1 有以下安全性问题:\n\n 1. 使用明文(不加密)进行通信,内容可能会被窃听;\n 2. 不验证通信方的身份,通信方的身份有可能遭遇伪装;\n 3. 无法证明报文的完整性,报文有可能遭篡改。\n\n由于 HTTP 设计之初没有考虑到这几点,所以基于 HTTP 的这些应用都会存在安全问题。\n\n1. 数据没有加密\n基于 TCP/IP 的网络,网络各处都会存在被监听的风险。而且如果用 HTTP 协议进行通信,HTTP 本身没有加密功能,所以也无法做到对通信整体(使用\nHTTP 协议通信的请求和响应的内容)进行加密。即,HTTP 报文使用明文(指未经过加密的报文)方式发送。\n\n\n\n像上图表示的那样,在互联网各个环节都可能被监听。就算是加密通信,也能被监听到通信内容,只不过监听者看到的是密文。要解决 HTTP 上面 3\n个大的安全问题,第一步就是要先进行加密通信。于是在传输层增加了一层 SSL(Secure Sockets Layer 安全套接层)/ TLS\n(Transport Layer Security 安全层传输协议) 来加密 HTTP 的通信内容。\n\n",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://halfrost.com/"
}
}
| theme-color | #FFFFFF |
| None | ie=edge |
| HandheldFriendly | True |
| referrer | no-referrer-when-downgrade |
| og:site_name | Halfrost's Field | 冰霜之地 |
| og:type | article |
| og:image | https://img.halfrost.com/Blog/ArticleTitleImage/95_0_0.png |
| article:published_time | 2019-01-13T13:31:00.000Z |
| article:modified_time | 2026-07-07T04:31:10.000Z |
| article:tag | HTTPS |
| article:publisher | https://www.facebook.com/halffrost |
| article:author | https://www.facebook.com/halffrost |
| twitter:card | summary_large_image |
| twitter:url | https://halfrost.com/https-begin/ |
| twitter:image | https://img.halfrost.com/Blog/ArticleTitleImage/95_0_0.png |
| twitter:label1 | Written by |
| twitter:data1 | 一缕殇流化隐半边冰霜 |
| twitter:label2 | Filed under |
| twitter:data2 | Protocol, HTTPS |
| twitter:creator | @halffrost |
| og:image:width | 1920 |
| og:image:height | 1080 |
Links:
Viewport: width=device-width, initial-scale=1.0 shrink-to-fit=no