I didn’t try built-in certificate before. But I think this worth a try. So I submitted a task: https://crosswalk-project.org/jira/browse/XWALK-3962 We will have someone to check this. And you can put comments at the above task too.
From: Luis Tiago Eterovick [mailto:lu...@syst.com.br] Sent: Friday, April 17, 2015 5:15 AM To: Xu, Xing Cc: crosswalk-dev@lists.crosswalk-project.org Subject: Re: [Crosswalk-dev] Ssl Certificate Error Alert Thanks it worked! Considering i'll have a valid certificate (.crt) later, can i include it on my xwalk webview and use it to authenticate, instead of ignoring the error? 2015-04-14 21:46 GMT-03:00 Xu, Xing <xing...@intel.com<mailto:xing...@intel.com>>: Then Try: private class MyResourceClient extends XWalkResourceClient{ public MyResourceClient(XWalkView view) { super(view); } @Override public void onReceivedSslError(XWalkView view, ValueCallback<Boolean> callback, SslError error) { callback.onReceiveValue(true); Log.d("DEBUG","onReceivedSslError"); } From: Luis Tiago Eterovick [mailto:lu...@syst.com.br<mailto:lu...@syst.com.br>] Sent: Wednesday, April 15, 2015 8:35 AM To: Xu, Xing Cc: crosswalk-dev@lists.crosswalk-project.org<mailto:crosswalk-dev@lists.crosswalk-project.org> Subject: Re: [Crosswalk-dev] Ssl Certificate Error Alert I just said "if i simply remove super.onReceivedSslError(view, callback, error); it will not display the error but won't load the page either" The page is displayed if i click OK in the error message, and isn't displayed if i click cancel. I suppose removing that line will have the same effect as cancelling the popup. 2015-04-14 21:17 GMT-03:00 Xu, Xing <xing...@intel.com<mailto:xing...@intel.com>>: Please try remove: super.onReceivedSslError(view, callback, error); private class MyResourceClient extends XWalkResourceClient{ public MyResourceClient(XWalkView view) { super(view); } @Override public void onReceivedSslError(XWalkView view, ValueCallback<Boolean> callback, SslError error) { Log.d("DEBUG","onReceivedSslError"); } From: Luis Tiago Eterovick [mailto:lu...@syst.com.br<mailto:lu...@syst.com.br>] Sent: Wednesday, April 15, 2015 2:42 AM To: Xu, Xing Cc: crosswalk-dev@lists.crosswalk-project.org<mailto:crosswalk-dev@lists.crosswalk-project.org> Subject: Re: [Crosswalk-dev] Ssl Certificate Error Alert I updated the lib and the popup is not repeating anymore. To stop showing it, i tried overriding the function as you said, but I'm still getting the error popup and if i simply remove super.onReceivedSslError(view, callback, error); it will not display the error but won't load the page either. Is there a way to bypass this? http://paste.ofcode.org/YJUsvATF7Wtas3KDFryerS Thanks 2015-04-10 0:00 GMT-03:00 Xu, Xing <xing...@intel.com<mailto:xing...@intel.com>>: Did you mean this popup repeatedly? If so, please try version after on Jan 27<https://github.com/crosswalk-project/crosswalk/pull/2821#event-225360186> 2015. The repeatedly popup is fixed at https://github.com/crosswalk-project/crosswalk/pull/2821 If you want to override this SSL Alert Dialog or get rid of it, try to override: XWalkResourceClient::onReceivedSslError From: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org<mailto:crosswalk-dev-boun...@lists.crosswalk-project.org>] On Behalf Of Luis Tiago Eterovick Sent: Thursday, April 9, 2015 11:17 PM To: crosswalk-dev@lists.crosswalk-project.org<mailto:crosswalk-dev@lists.crosswalk-project.org> Subject: [Crosswalk-dev] Ssl Certificate Error Alert How can i ignore Ssl Certificate Error Alert popups? I need to do that for a presentation and I'm still on a test environment. Currently using 10.39.235.16 but wouldn't mind to use any other version (even beta) for now. Thanks in advance
_______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev