Suppose I've got a response from a website using https. Is it possible to store the certificate and keys exchange to prove to a third-party that the response came from that domain?
-
$\begingroup$ Exact dupe crypto.stackexchange.com/questions/29751/… and crypto.stackexchange.com/questions/60233/… and crossdupe security.stackexchange.com/questions/187577/… and more $\endgroup$– dave_thompson_085Aug 30, 2018 at 0:32
1 Answer
No, at least for standard ciphersuites, TLS/https does not allow proving to a third party that an https payload was received from a certain domain.
Problem is, the initial TLS handshake leads to symmetric keys known by both parties, used to secure the rest of the exchange. Thus each party can forge messages and pretend the other side sent them.
-
$\begingroup$ That's exactly what I first thought about it. The private/public keys are used only to verify the identity, then a symmetric key is exchanged, and the remaining payload is encrypted with the symmetric key. $\endgroup$– msbrogliAug 29, 2018 at 5:01