There's no such thing as a stupid question, but they're the easiest to answer.


Search Search
Search for:
Tech Support Guy > > >

My Proxy won't handle SSL/https requests


rbrunet's Avatar
rbrunet rbrunet is offline
Junior Member with 3 posts.
Join Date: Nov 2001
20-Nov-2001, 10:48 AM #1
My Proxy won't handle SSL/https requests
I am in the proces of coding a proxy server in C and am having difficulty with the SSL aspect.
When receiving an http request, I simply forward the whole message (GET htpp;// \n User-Agent:...\n etc. ) to the appropriate server, and it works fine. But when an SSL request arrives (CONNECT \n User-Agent:...\n etc.), I try to forward this to the server in the same fashion.

This does not work as I am not getting any response back (not even an error). I think I have to manipulate the request message (ex. remove the "CONNECT" and ":443", but I am not sure how to properly format it. After several tries with different formats, I am still lost and frustrated.
Anyone know how to format the SSL message. i.e. What should my proxy forward to the secure server? Or maybe, formatting is not the solution?!? Any help appreciated.

Bryan's Avatar
Member with 11,942 posts.
Join Date: Jul 1999
Location: USA
22-Nov-2001, 07:33 AM #2
Please don't post duplicate topics. Your original is at the link below
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Search Tech Support Guy

Find the solution to your
computer problem!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

You Are Using: Server ID
Trusted Website Back to the Top ↑