[
https://issues.apache.org/jira/browse/CB-11826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15505879#comment-15505879
]
Jörn Heid commented on CB-11826:
--------------------------------
Added a project demonstrating the issue. In ViewController.m there is the
WKWebView implementation testing <script>, <iframe> and AJAX calls to a server
with a self created certificate. The first two succeed and the third fails. In
that code you can comment out the WKWebView part and comment in the UIWebView
part. With the UIWebView all three tests succeed.
> Ajax calls fails in WKWebView on self-signed servers
> -----------------------------------------------------
>
> Key: CB-11826
> URL: https://issues.apache.org/jira/browse/CB-11826
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin WKWebViewEngine
> Affects Versions: 3.5.0
> Environment: iOS 9.3.2
> Reporter: Jörn Heid
> Assignee: Shazron Abdullah
>
> When using jQuery's Ajax, I get
> "Failed to load resource: The certificate for this server is invalid. You
> might be connecting to a server that is pretending to be “xxx” which could
> put your confidential information at risk."
> when checking the webview in Safari through USB.
> I tried to implement the didReceiveAuthenticationChallenge method in
> CDVWKWebViewEngine but it doesn't seem to be called.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]