mauron85/cordova-plugin-background-geolocation

Certificate exception

Opened this issue · 0 comments

Your Environment

Android API level 29

  • Plugin version: 3.1.0
  • Platform: Android
  • OS version: 8.1
  • Running in Simulator: no
  • Cordova version (cordova -v): 10.0.0
  • Cordova platform version (cordova platform ls): android :9.1.0

Context

We're using the plugin to track the location and to send it to a server using a webservice. This webservice is available on a server which uses a self-signed certificate.

Expected Behavior

The location should be sent to the server via the webservice.

Actual Behavior

The plugins throws java.security.cert.CertPathValidatorException exception.

=> How to call the webservice throught the plugin with a self-signed certificate ?

Thank you for your answers.