"ssl certificate error alert" popup

  • 2
  • Idea
  • Updated 5 years ago
Using the crossalk engine plugin (forked for Phonegap Build) i see an "ssl certificate error alert" popup. This is reported on the original repository (https://github.com/infil00p/cordova-c...) and comments mention a patch available on other project.

Is there a workaround for this problem or the Phonegap Build team have on their roadmap the fix on their fork of cordova-crosswalk-engine?
Photo of Nuno Rosa

Nuno Rosa

  • 4 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 2
Photo of Yi Ming Kuan

Yi Ming Kuan

  • 1840 Posts
  • 78 Reply Likes
Hi Nuno,

If this update was pushed out in time for plugin version v1.3.0, then it should be included in the plugin we forked. If not, it's not in PGB yet.

-yiming
Photo of Nuno Rosa

Nuno Rosa

  • 4 Posts
  • 0 Reply Likes
The fix is not present in the v1.3.0.

With yesterday's announcement (http://phonegap.com/blog/2015/09/28/a...) can we use start using cordova-plugin-crosswalk-webview (https://github.com/crosswalk-project/...) using npm source in Phonegap Build?
Photo of Yi Ming Kuan

Yi Ming Kuan

  • 1840 Posts
  • 78 Reply Likes
Hi Nuno,

The Crosswalk plugin still doesn't work for now, as we haven't enabled support for multiple APK (ARM + x86) outputs yet. The other Gradle-based plugins will work fine though.

-yiming
Photo of Oren Agiv

Oren Agiv

  • 84 Posts
  • 3 Reply Likes
Any updates on this one?
Photo of Oren Agiv

Oren Agiv

  • 84 Posts
  • 3 Reply Likes
First, it seems to occur only on Android 4.4, but not on 5.
Managed to block the alerts by using the following:

In the config.xml:
<gap:plugin name="org.crosswalk.engine" source="pgb" />
<gap:plugin name="cordova-plugin-crosswalk-certificate" source="npm" />


And then from your JS do:
cordova.plugins.certificates.trustUnsecureCerts(true);
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Oren,
Support is out of town till at least the 4th.
Jesse
(Volunteer, not a Phonegap employee)