I have a problem when i test my NativeScript application on android API 17. The installation works fine, but when i try to login with an HTTP request to my HTTPS back-end, the request immediately stops.
This only happens on API 17 and not on higher API.
Error: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
http.request({
url: config.baseUrl + "login",
method: "POST",
headers: {"Content-Type": "application/x-www-form-urlencoded"},
content: "grant_type=password&username=" + this.username + "&password=" + this.password
});