0

I am not really good in tls details, just know some basics. So there are couple of questions about it:

  1. Is there a way to decipher tls in wireshark if the cipher method is diffie hellman? I know that using web browser it is easy as I have session key there. But in general case how I can extract session keys if I just have tls over bare tcp?

  2. If I have multiple clients who connect to the server, how does the server distinguish between different certificates and chooses the right one to decipher the message?

StackzOfZtuff
  • 18,093
  • 1
  • 52
  • 86
  • What do you mean with "dissect"? You can look at the protocol details - which is what dissect usually means. You cannot decrypt traffic though unless you have additional information like the master key. 2) I think you have the wrong understanding of TLS in this part. The server does not decipher the message based on certificates. But in general there is only one server certificate or the server chooses based on the server name in the SNI extension in the ClientHello.
  • – Steffen Ullrich Nov 25 '18 at 17:03