News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Miscellaneous Forum
 
Urgent help needed in Proxy Project with SSL??

Reply

by sussee
posted on 2006/06/21

Hi,
I am using your Proxy Project in my Program. I need to display the traffic between the browser and server to the user. In case of HTTP i am able to do that but when there is HTTPS involved, It displays only the "CONNECT" requests and no other Get/Post requests etc. How is it handling the SSL.
Please guide me how can I modify the classes to include this functionality.

Waiting for your response...Please help
Thanks a lot

by kj
posted on 2006/06/22
Reply

You need to set up a seperate https listener on another port to handle https (modify the httpclient class). Use the SecureSocket class in your httplistener class to handle SSL. Then in the Http class if the request is Https instead of forwarding it to the remote host forward it to your own https listener; the SecureSocket class will decrypt the transmission for you. See the SSLClient and SSLServer examples in the SecurityLib to see how to use the SecureSocket class, it is straightforward. Your Httpslistener will have a SSL Server component to handle requests from the Http client and an SSL client component to handle transmission to the remote host.

Good Luck.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.