Can I capture certificate and store it without implementing session key of both TLSv1.2 and TLSv1.3
asked Nov 12 '25
Can I capture certificate and store it without implementing session key of both TLSv1.2 and TLSv1.3 in Linux , I am trying to store TLS_Certificate details using pyshark but unable to do that , is their any other tools we should use or we can store using pyshark.

To add to that, please note that the certificate is sent in the unencrypted phase of the handshake in TLSv1.2 and it is sent in the encrypted phase of the handshake in TLSv1.3. This means you will only see the certificates sent in a TLSv1.2 connection if you do not provide the TLS session keys.