I am trying to use a self-signed certificate in a ssl socket on windows8 consumer preview. I am getting this exception:
Exception : System.Runtime.InteropServices.COMException (0x800B0109): A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. (Exception from HRESULT: 0x800B0109 .
Is it possible to override the validation of ssl certificate ? Something like remotecertificatevalidationcallback , which does not seem to be accessible on windows8.
Thanks a lot in advance.
In Silverlight (which has a very similar security model), there is no way to go around a SSL error in a connection. The only workaround in my case was a server side proxy hiding the SSL errors.
I doubt that you'll find a way to do insecure connections in Win8's sandbox (same as in Silverlight).
User contributions licensed under CC BY-SA 3.0