https SSL TLS

 

https使用SSL或TLS来保证网络层传输的安全。

SSL目前的版本是3.0。 TLS是在SSL的基础上演化而来的。

一般浏览器同时支持这两种方式。如

IE        工具-Internet选项-高级-设置-安全 使用SSL3.0  使用TLS1.0

FireFox 工具-选项-高级-加密 默认选中SSL3.0和TLS1.0

 

具体连接过程使用何种加密、消息认证、密钥协商方式,应该是依赖于浏览器或服务器的实现。

在IE浏览器使用SSL3.0时,在浏览器与网站进行密钥协商阶段,只是简单的用服务器证书的公钥加密了主密钥,进行密钥协商。

在这种情况下,如果拿到服务器证书的私钥,就能通过wireshark解析https的通信过程。

参见:http://wiki.wireshark.org/SSL

 

使用TLS时,很可能是通过DH进行密钥协商。

 

from Wiki:  http://en.wikipedia.org/wiki/HTTP_Secure

Hypertext Transfer Protocol Secure (HTTPS ) is a combination of the Hypertext Transfer Protocol with the SSL/TLS protocol to provide encryption and secure identification of the server.

 

HTTP operates at the highest layer of the OSI Model , the Application layer; but the security protocol operates at a lower sublayer, encrypting an HTTP message prior to transmission and decrypting a message upon arrival. Strictly speaking, HTTPS is not a separate protocol, but refers to use of ordinary HTTP over an encrypted Secure Sockets Layer (SSL) or Transport Layer Security (TLS) connection.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值