Middleman Sniffing TLS RSA traffic
I am in charge of a sniffer project that sniffs the traffic between two devices. (I promise that I am not doing anything illegal) In this project, I am given the .pem file, which I think is OpenSSL generated, that contains a -----BEGIN PRIVATE KEY----- section, a Certificate: section, and a -----BEGIN CERTIFICATE----- section. I am wondering what is the best way to accomplish this in C#? I already have a sniffer completed, and I am working on decrypting the TLS traffic. My original thought was to sniff the server+client traffic and leverage the BouncyCastle library to build a TLS client based on the sniffed network traffic. I have started doing that, and it proves to be difficult as it turns out. Is this a feasible solution to this problem? or am I on the wrong track?
from Recent Questions - Stack Overflow https://ift.tt/3kygxtc
https://ift.tt/eA8V8J
Comments
Post a Comment