Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Arif_B_
Beginner
127 Views

how to ignore the SSL error in newer crosswalk

Hi there,

I have been using the earlier version of Intel XDK with crosswalk webview 14, which allowed me to access the https sites with self-signed SSL without any problems, however the newer version is restricting and giving an error about SSL,

kindly let me know how to ignore the SSL error in the newer versions of crosswalk.

Thanks

Regards

Arif

Tags (2)
0 Kudos
3 Replies
PaulF_IntelCorp
Employee
127 Views

You might want to check this post to see if it relates to your issue > https://software.intel.com/en-us/forums/intel-xdk/topic/595999#comment-1851184 < and please follow the referenced SO link within that post.

Arif_B_
Beginner
127 Views

 

Hi Paul,

No unfortunately this issue is not related to this... it appears to be a crosswalk issue

Crosswalk team propose a workout on the following link, but I need to know how to control the crosswalk from XDK

https://vincent.bernat.im/en/blog/2016-android-build-time-patch

Regards

Arif

 

PaulF_IntelCorp
Employee
127 Views

Arif -- one of my colleagues did some investigation and the issue comes down to:

The simplest thing to do is continue to use Crosswalk 14 (or the latest version that continues to work, which I believe is 16). If you only need this fix for debugging, you can set "debuggable" equal to "true" in your intelxdk.config.additions.xml file, and it should disable the SSL checks (per the above-referenced StackOverflow comments). Unfortunately, you cannot submit an app built that way to the Google store, but if this is only needed for debugging, that should not be a problem.

The more complicated solutions are to do what is being done in the StackOverflow solution, which will not work with Crosswalk but will work with a non-Crosswalk build, but requires creating a special plugin if you want to use our build system. If you want to use that SO solution and do not want to learn how to create Cordova plugins, then I would recommend using Cordova CLI directly to build your app.

Reply