Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#316518 - 19/11/2008 10:09 Proxy config question
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
I've got an application which is supposed to log in to a website to control some equipment, it does this over an https connection. The app compiles and runs on X11, OSX and win32 but for some reason it fails to connect over https on Windows. If you force it to plain http then it works so it looks like an OpenSSL dll problem. The issue I have is that while the testing system allows both http and https traffic, the final system is https only.

Does anyone know wether I could use a proxy like squid to take an http request and run it over https? It doesn't necessarily have to be transparent. I can change the URL's and request data in the client to suit.
_________________________
Cheers,

Andy M

Top
#316524 - 19/11/2008 14:17 Re: Proxy config question [Re: andym]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Is your clock set correctly on the windows box?

Top
#316530 - 19/11/2008 17:28 Re: Proxy config question [Re: andym]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Does it work with the Windows Firewall disabled?
_________________________
Tony Fabris

Top
#316531 - 19/11/2008 18:12 Re: Proxy config question [Re: andym]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Originally Posted By: andym
Does anyone know wether I could use a proxy like squid to take an http request and run it over https?

It's technically feasible, yes. I don't know that you can do it with squid (you might), but the SSL encapsulates plain-jane HTTP and the encryption layer is handled completely separately, so you should be able to create some sort of trivial proxy with stunnel or similar and a two-way pipe.


Edited by wfaulk (19/11/2008 19:56)
Edit Reason: clarified what was handled separately
_________________________
Bitt Faulk

Top
#316535 - 19/11/2008 19:38 Re: Proxy config question [Re: wfaulk]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
RTC is locked to our on site GPS so I don't think it's that. I also disabled the corporate firewall (which disables the Windows one on installation) but that makes no difference. I've found one machine that it works on but sadly that's my dev machine which has all sorts of crap on it, too much to go through one by one to figure out what it is.

Another option would be to rewrite the app and make client/server and just run the server element on one of my linux boxes. This is actually likely to be quicker.
_________________________
Cheers,

Andy M

Top