https in proxy


  1. sureshsundar007
  2. saratchandra_a

This archived discussion is "read only".
For the corresponding "live" discussions, post in the active topic forum here.



Top 1.   Sep 4, 2003 2:42 AM

» sureshsundar007 - https in proxy

hi friends,

I'm building a proxy server using c#.I completed the code to handle http but i'm struggling with https.After i receive the CONNECT command i can able to connect to port 443 to the appropriate server and i send the response back to the browser as

"HTTP/1.0 200 Connection established\r\nProxy-Agent: Dynu Proxy Server\r\n\r\n".
I checked the number bytes sent for this response..it is 71 and it is correct.

But after that i'm getting an junk message instead of 'SSL Hello' from the browser,and after that i'm not getting any other messages..I use IE as client and use proxy for all protocols in LAN settings option(I tried netscape also..it doesnt work).Can any one tell me what's going wrong with this?

Thanks,
Suresh.

-- posted by sureshsundar007



Top 2.   Sep 26, 2004 4:18 AM

» saratchandra_a - Re: https in proxy

In response to message posted by sureshsundar007:

Dear Mr.Suresh,
I don't know if you still visit this site, but I too am facing the same problem. I am tryign to write a proxy in Java and I already implemented the SSL part of the proxy, but I am faced with only one problem that is same as yours. I get connect command and next I send the response 200 and it gives me junk. If this problem was solved by you, please let me know at the earliest.
Bye
Thanks
Sarat

-- posted by saratchandra_a



Please follow the guidelines set forth in the Suite101 Posting Etiquette when adding to the discussion.