Ignore SSL Certificate Errors In Windows 8.1 Apps

With Windows 8.1 it will be possible for app developers to ignore SSL certificate errors that will occur if you are using self-signed certificates for example. The new built-in HttpClient API supports ignoring such errors.

The source will look like this…


var filter = new HttpBaseProtocolFilter();
filter.IgnorableServerCertificateErrors.Add(ChainValidationResult....)
var httpClient = new HttpClient(filter);
...

More about the topic can be found here…

http://msdn.microsoft.com/en-us/library/windows/apps/windows.web.http.filters.httpbaseprotocolfilter.ignorableservercertificateerrors.aspx

http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.certificates.chainvalidationresult.aspx

What’s about Window 8.0, Windows Phone 7 and 8

For earlier versions of Windows you need to install the SSL certificate to the device in order to trust the site. More information can be found here….

http://social.msdn.microsoft.com/Forums/windowsapps/en-US/b6887fa1-1b29-4747-a0f3-573e77cd10ea/can-i-tell-windows-8-apps-to-ignore-security-certificate-errors

Advertisements

One thought on “Ignore SSL Certificate Errors In Windows 8.1 Apps

  1. […] IGNORE SSL CERTIFICATE ERRORS IN WINDOWS 8.1 APPS […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: