当我们使用 https.........例如发送登录凭据时(https://example.com?username=aaaa&password=aaaa123)。 HTTPS 使用 SSL 证书加密数据。所以 url 将是加密的字符串。我正在给两个具有相同 url 的请求(https://example.com?username=aaaa&password=aaaa123)。在每次请求时,url 都会被加密。第一个请求的加密 url 是否与第二个请求的加密 url 相同?每次客户端和服务器之间的 SSL 证书都会不同吗?
谢谢, 伊克巴尔
最佳答案
Will the encrypted url of the first request be same as the encrypted url of the second request?
URL 将是相同的,因为您是这么说的。如果您问的是 URL 的加密 是否会有所不同,那么这个问题是没有意义的。任何人都无法分辨,因为整个请求都是加密的,所以不可能挑出包含加密 URL 的部分。
Is the SSL certificate going to be different everytime btween client and server?
SSL 证书对于整个 SSL session 是相同的,只要客户端和服务器都记住它,它就会在当前连接之后持续存在。
关于encryption - HTTPs 网址加密,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12404082/