[Mono-osx] CFProxySupport in MonoMac

trip andywhitt at gmail.com
Wed Feb 22 18:13:20 UTC 2012


Actually spoke too soon, I'm no proxy expert but there's probably a problem
here:

https://github.com/mono/maccore/blob/master/src/CoreFoundation/CFProxySupport.cs#L629

returning https here causes "The authentication or decryption has failed"

The failure happens before the ServerCertificateValidationCallback delegate
code is even reached.

After inspecting the traffic with WireShark, using https://proxy:port Mono
never does the initial HTTP CONNECT with the proxy and just throws the https
request at it.

I've modified my version to just always return http:// for the protocol when
http and https, as at the end of the day a proxy is just a host and a port.

Hope this helps someone.

--
View this message in context: http://mono.1490590.n4.nabble.com/CFProxySupport-in-MonoMac-tp4411175p4411234.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list