cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Heid (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CB-11826) Ajax calls fails in WKWebView on self-signed servers
Date Thu, 08 Sep 2016 13:38:20 GMT

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

Jörn Heid commented on CB-11826:
--------------------------------

Thanks for the answer, but I already have this code snippet in my code.

Also, the app works fine with the older webview.

didReceiveAuthentificationChallenge is also defined in WKNavigationDelegate
(see http://stackoverflow.com/questions/27100540/allow-unverified-ssl-certificates-in-wkwebview).
This solution should work but sadly doesn't work for me (or I made a mistake).

> 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
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message