[ 
https://issues.apache.org/jira/browse/CB-11826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507945#comment-15507945
 ] 

jcesarmobile commented on CB-11826:
-----------------------------------

I agree about that we can't do anything, but I don't think it's a bug. 
To make self signed certificates work on UIWebView you have to use a private 
API (allowsAnyHTTPSCertificateForHost).
I think it was intentional to not make it work on WKWebView. 

> 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 8, 9, 10
>            Reporter: Jörn Heid
>            Assignee: Shazron Abdullah
>         Attachments: WKWebView.zip
>
>
> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to