I have a standard MongoDB SSL environment where the mongo wire protocol is encrypted with SSL/TLS using RSA keys. I have packet captures of communication between the MongoDB server and a client taken via tcpdump
. I have ownership of the certificates involved in the encryption.
I have a capture of the handshake, and DHE / ECDHE / PFS is not at play in this scenario.
How can I decrypt the information in the existing packet captures to inspect the contents of the mongo wire protocol portion of the packets?