MonoTouch Web Service Request over SSL Gets 'authentication or decryption has failed'
问题 A web service request over SSL raises a WebException on Monotouch v4.0.4.1: 'Error getting response stream (Write: The authentication or decryption has failed)' Since the server's SSL certificate is self-signed (and btw I think it is not X.509), I am bypassing the certificate validation using ServicePointManager.ServerCertificateValidationCallback. The exact same code works fine on Windows .NET, where the web service call returns the correct result. On Monotouch adding a Writeline shows that