[Mono-list] Problem connecting to a secure site via a NTLM authenticating proxy
Steve Lessard
s_lessard at yahoo.com
Mon Feb 14 13:31:31 EST 2011
You should try isolating the problem by removing .NET and Mono altogether. Try using curl to make the same connection. Curl has support for all types of proxy servers as well as good debugging capabilities. Using curl may help you gain more insight into how connections through the proxy work.
-SteveL
On Feb 14, 2011, at 6:12 AM, Andrew Bryson <abryson at rm.com> wrote:
>
> Hi all,
>
> We've had a problem within our software for a while that our client on Mac
> (OS X 10.5-106, Mono 2.6) has not been able to connect to websites which
> require HTTPS when connecting through a NTLM authentication proxy (Microsoft
> ISA 2006). In trying to get to the bottom of this I've discovered:
>
> - This is a problem with Mono 2.6 and 2.8(.2).
> - NTLM authentication works through the ISA proxy when the target site uses
> plain HTTP. We must connect securely via HTTPS.
> - The same problem happens on Windows when I execute my C# .NET 2.0 app
> directly (i.e. not launching it with 'mono').
>
> I have put together a small application to allow me to test this issue.
> When calling HttpWebRequest.GetResponse() the following exception occurs:
> http://pastie.org/1562663.
>
> I've tried playing around with the HttpWebRequest.PreAuthenticate property,
> and associating the credentials with the HttpWebRequest.Credentials object
> (but the website does not require auth, only the proxy).
>
> The same binary executed on Windows works. I realy hope that somebody is
> able to help me out in either fixing the problem, or confirming that it's a
> known issue in the current Mono framework. Here's the test application:
> http://pastie.org/1562659.
>
> Thanks,
> andy
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Problem-connecting-to-a-secure-site-via-a-NTLM-authenticating-proxy-tp3305051p3305051.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list