HTTPS and Proxy Authentication

View: New views
1 Messages — Rating Filter:   Alert me  

HTTPS and Proxy Authentication

by Tam Willacy :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hi,

Would anyone happen to have made https requests via an authenticating
proxy work?

I can't get it to work using basic authentication.  Without proxy
authentication it works fine.

It seems (using WireShark to sniff the traffic) that Internet Explorer
sends the Proxy-Authorization header along with the http CONNECT
request, but in OpenSTA's SCL the CONNECT function doesn't seem to let
you provide extra header fields.   Putting the Proxy-Authorization
header on the https Primary Get seems to be ignored by OpenSTA replay in
that it sees the request is https and so correctly sends the http
CONNECT on port 443 request over the open connection, but again OpenSTA
doesn't include the Proxy-Authorization header so the proxy server just
replies with a 407 permission denied error.

I'm using 1.4.3 and the relevant parts of the script look like this,

CONNECT TO "192.168.1.239:8080" ON 1  
PRIMARY GET URI "https://machine2.testdomain1.test/Sitex/default.html
HTTP/1.0" &
                ON 1 &
                HEADER DEFAULT_HEADERS &
                ,WITH {"Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, */*", &
                        "Accept-Language: en-us", &
                        "UA-CPU: x86", &
                        "Proxy-Authorization: "+blob_14_1}

Any help greatly appreciated.

Kind regards,
Tam


Tam Willacy
Technical Director
Testing Questions Ltd  |  www.testingquestions.com
Email: tam. No Spam willacy@...



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
OpenSTA-users mailing list OpenSTA-users@...
Subscribe/Unsubscribe/Options: http://lists.sf.net/lists/listinfo/opensta-users
Posting Guidelines: http://portal.opensta.org/faq.php?topic=UserMailingList