Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
TLS handshake error when POSTing location changes #570
My local development API runs over HTTPS. I imported the CA cert for my local certificate on my phone so that Chrome and the Cordova JS app properly communicate with the API. (Chrome marks the page as trusted and the app has no problems sending requests)
The background POST request should properly communicate with the API because the CA cert is installed on the Android device.
I cannot really debug the outgoing request (as it doesn't show up on the chrome devtools, because it comes from native code) but I get the following in the log of my backend service.
Maybe I just miss some additional configuration for it to work?
Steps to Reproduce
You basically just need a backend service with a self signed cert which was also signed by an own CA cert. The CA cert should be installed on the Android device. Then let the plugin POST to it.
It hopefully doesn't affect the production built because that will use the real backend with a proper certificate. But right now I am not able to test it on my development machine and the real infrastructure is not in place yet.