Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[软技能] 第50天 说说你对http、https的理解 #192

Open
haizhilin2013 opened this issue Jun 4, 2019 · 5 comments
Open

[软技能] 第50天 说说你对http、https的理解 #192

haizhilin2013 opened this issue Jun 4, 2019 · 5 comments
Labels
软技能 软技能

Comments

@haizhilin2013
Copy link
Collaborator

第50天 说说你对http、https的理解

@haizhilin2013 haizhilin2013 added the 软技能 软技能 label Jun 4, 2019
@wenyejie
Copy link

wenyejie commented Jun 5, 2019

如果我没记错, 几天前, 刚出玩这个题目,

@haizhilin2013
Copy link
Collaborator Author

@wenyejie 还真的是!感谢指出,和第44天的题重复了

@AnsonZnl
Copy link
Contributor

AnsonZnl commented Jun 5, 2019

HTTP是超文本协议,默认端口是80,以明文方式传输。
HTTPS是HTTP协议的安全版,安全基础是SSL,以密文方式传输。

@TSnowRock
Copy link

如果是http1.0,2.0的区别和理解多好,这个我就不明白

@wwggxx
Copy link

wwggxx commented Jan 6, 2020

  1. 从是否需要证书方面来看:https协议需要到ca申请证书,一般免费证书很少,需要交费。
  2. 从是否安全方面来看:http是超文本传输协议,信息是明文传输(无法加密),https则是具有安全性的ssl加密传输协议。
  3. 从写法、端口号来看:http和https使用的是完全不同的连接方式,用的端口也不一样,前者是80,后者是443。
  4. 从OSI网络模型中来看:http的连接很简单,是无状态的(HTTP工作于应用层);https协议是由SSL+HTTP协议构建的可进行加密传输、身份认证的网络协议、比http协议安全(HTTPS的安全传输机制工作在传输层)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
软技能 软技能
Projects
None yet
Development

No branches or pull requests

5 participants