Iqbal
Iqbal

Reputation: 1

HTTPs URL encryption

when we use https.........for example to send login credentials(https://example.com?username=aaaa&password=aaaa123). HTTPS encrypts the data using SSL certificate. So the url will be encrypted string. I am giving two requests with the same url(https://example.com?username=aaaa&password=aaaa123). On every request the url will be encrypted. Will the encrypted url of the first request be same as the encrypted url of the second request? Is the SSL certificate going to be different everytime btween client and server?

Thanks, Iqbal

Upvotes: 0

Views: 651

Answers (1)

user207421
user207421

Reputation: 311048

Will the encrypted url of the first request be same as the encrypted url of the second request?

The URL will be the same, because you said so. If you're asking whether the encryption of the URL will be different, the question is meaningless. It's impossible for anyone to tell, because the entire request is encrypted, so it is impossible to pick out the part that consists of the encrypted URL.

Is the SSL certificate going to be different everytime btween client and server?

The SSL certificate is the same for the entire SSL session, which persists beyond the current connection for as long as both client and server remember it.

Upvotes: 1

Related Questions