I am using Cordova Android platform 5.2.2. Whenever I am performing SSL Checking on my Android N device I am facing the below error:
CONNECTION_FAILED. Details: Handshake failed.
From server side we are using TLS 1.0. And in the app SSL Certificate Checker plugin version is 5.0.0. Cordova version is 6.3.0
I think the issue is related to Android N network security configuration changes(Because I am getting the error in Android N devices only). I have added the certificates as per the changes in Android N behavioral changes. But getting the same error.
I have updated the Cordova Android platform to 6.1.2. But getting the same error.
In Android studio after running the application, after 1 minute later the below error is raised:
javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
As the app is developed using Apache Cordova, it does not follow the Java coding. We can not apply the changes mentioned in few blogs.
Can you please help me in this regard. Thanks in advance.