[Mono-list] Problem connecting to a secure site via a NTLM authenticating proxy

Andrew Bryson abryson at rm.com
Mon Feb 14 09:12:57 EST 2011


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.


More information about the Mono-list mailing list