1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

My Proxy won't handle SSL/https requests

Discussion in 'Software Development' started by rbrunet, Nov 20, 2001.

Thread Status:
Not open for further replies.
  1. rbrunet

    rbrunet Thread Starter

    Nov 20, 2001
    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;//host.com \n User-Agent:...\n etc. ) to the appropriate server, and it works fine. But when an SSL request arrives (CONNECT host.com:443 \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.

  2. Bryan


    Jul 3, 1999
    First Name:
As Seen On
As Seen On...

Welcome to Tech Support Guy!

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.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/59087

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice