How
SSL key pinning
preventsMITM attacks
when someCA
is compromised?
What I understand from comprising CA
is, private keys are compromised and an attacker can easily get symmetric key
used to encrypt data. Am I right?
Another thing, if public key
remains same when certificates are rotated and in key pinning
we match the public keys, how can we know that, key (we are getting) is from original certificate?
I don't really get the concept. Can anyone elaborate it step by step?
I have gone through this question but couldn't really get the answer.