Video
How does HTTPS work? What’s a CA? What’s a self-signed Certificate?
How HTTPS Works (…and SSL/TLS too)
Some Article about TSL(SSL)
www.cloudflare.com/learning/ss…
juejin.cn/post/687011… (Recommended)
用自己的话谈谈HTTPS
Name
HTTP Hypertext Transfer protocol
HTTPS HTTP secure
secure是如何实现的呢?
在原有HTTP的基础上 加一层TSL (Transfer Security Layer)
TSL 解决了什么问题?
- 解决明文传输的加密问题
- 确认信息源的可信
- 确认信息不被篡改 伪造 -> Integrity
- Encryption: hides the data being transferred from third parties.
- Authentication: ensures that the parties exchanging information are who they claim to be.
- Integrity: verifies that the data has not been forged or tampered with.
How TSL solve these problems && the process of execution ?
先说过程
通过三次握手?建立TCP链接,还要经历TLS的两个关键步骤
- 证书合法性验证
- 数据加密传输
1保证了信息源的可信 其实信息源是可信的 -> 信息 就不会背篡改和伪造了
这个话题涉及中间人攻击
how?
引入CA(Certificate Autority) 公认的可信第三方
涉及的相关概念
- 属于谁
- 数字签名
- public key
2保证HTTP报文中的数据
how?
加密
- 对称加密
一个加密key
通过这一个key就可以decode && encode
- 非对称加密
这里主要是用于处理session key的传输,就是上面对称加密所用到的key
逻辑就是decode 需要 public key && private key
private key 仅仅保存在 server上
加密仅仅需要public key
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END