locked
Win RT (Windows 8.1) WebView : Ignore Certfificate Error

    Question

  • Hi All

    I am facing a problem in WebView of Win RT (Windows 8.1 Store App). 

    When I am trying to navigate to a Page ( within the WebView), if the page contains security certificate error, the WebView is simply showing a blank(white) page.

    Based on the following post, 
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/c5159b37-73cb-4081-a59e-4b1d867e4f77/webview-load-webpage-for-uri-with-none-validate-ssl-certificate?forum=winappswithcsharp

    I am assuming that , the webview is not built to show pages which has certificate issues.

    I have also tried to the get the page content via Windows.Web.Http.HttpClient with HttpBaseProtocolFilter and included all possible values of ChainValidationResult Enumeration within the IgnorableServerCertificateErrors List.

    However, that is also not able to resolve the issue.
    Its continued to throw exception (InvalidName, Untrusted).

    I have also gone through following post, but none actually solved the issue I am facing now.
    http://stackoverflow.com/questions/12553277/allowing-untrusted-ssl-certificates-with-httpclient

    I would really appreciate, if you guys can provide possible solutions/workaround to overcome this limitation.

    Thanks in advance..

    Regards

    Sam

     
    Tuesday, October 14, 2014 9:53 AM

All replies