overriding certificate verification in windows8

4

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.

c#
ssl
windows-8
asked on Stack Overflow Apr 3, 2012 by pkumar0 • edited Apr 3, 2012 by Erik Philips

1 Answer

0

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).

answered on Stack Overflow Apr 4, 2012 by jv42

User contributions licensed under CC BY-SA 3.0