I need to de/encrypt ssl data for my proxy
Posted: Fri 23 Dec 2011 22:03
Hi,
I wrote a redirector which redirects all 80/443 port to my proxy in Delphi. I am handling all socket data/connection. What i need is to filter SSL traffic. I need some advice before ordering.
My questions are:
1. Client sends data to port 443. Server receives this data but it is encrypted. How can i decrypt this SSL data to see what hostname and url client is trying to connect? I can already the existing data to server without modifying it. But when I receive data from server, how can i again decrypt it (to check for title)?
2. When we use this VCL to encrypt/decrypt, is browser going to prompt untrusted certificate dialog box?
3. Again, using our own sockets which is coded using Winapi, how can i create a client request, send to server and decode incoming data from server?
Please kindly advice.
Bests,
I wrote a redirector which redirects all 80/443 port to my proxy in Delphi. I am handling all socket data/connection. What i need is to filter SSL traffic. I need some advice before ordering.
My questions are:
1. Client sends data to port 443. Server receives this data but it is encrypted. How can i decrypt this SSL data to see what hostname and url client is trying to connect? I can already the existing data to server without modifying it. But when I receive data from server, how can i again decrypt it (to check for title)?
2. When we use this VCL to encrypt/decrypt, is browser going to prompt untrusted certificate dialog box?
3. Again, using our own sockets which is coded using Winapi, how can i create a client request, send to server and decode incoming data from server?
Please kindly advice.
Bests,