Hmm, you're right, hard-coding ServicePointManager.ServerCertificateValidationCallback to always return true should ignore the SSL/TLS certificate error.
There's an overload for the SslStream constructor that takes a RemoteCertificateValidationCallback<http://msdn.microsoft.com/en-us/library/ms145056.aspx>; maybe try passing your custom validator delegate to that as well? Perhaps the SslStream is ignoring the ServicePointManager.ServerCertificateValidationCallback or something like that. On Sat, Feb 16, 2013 at 11:23 PM, Paul Johnson <[email protected]>wrote: > Hi, > > > Maybe the SSL root certificate is not installed. Have you tried running >> "mozroots --import --sync" to import all the Mozilla root certificates >> into Mono's certificate store? See >> http://www.mono-project.com/**FAQ:_Security<http://www.mono-project.com/FAQ:_Security>and >> http://linux.die.net/man/1/**mozroots<http://linux.die.net/man/1/mozroots> >> > > That is certainly the case here, but the first link (using root certs) on > the mono website shows the code I'm using for the validator, so that too > should work. > > > Paul > > -- > "Space," it says, "is big. Really big. You just won't believe how vastly, > hugely, mindbogglingly big it is. I mean, you may think it's a long way > down the road to the chemist's, but that's just peanuts to space, listen..." > Hitch Hikers Guide to the Galaxy, a truly remarkable book! > >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
