Unable to connect to server from K2 Mobile on Android device

  • 15 February 2022
  • 0 replies
  • 49 views

Userlevel 5
Badge +20
 

Unable to connect to server from K2 Mobile on Android device

kbt145881

PRODUCT
K2 Mobile
BASED ON
K2 Mobile (all)
TAGS
K2 mobile apps
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

Unable to connect to server from K2 mobile on Android device but it is working fine for an IOS device. The following error appears:


'java.security.cert.CertPathValidationException: Trust anchor for certification path not found.'

 

Image

Symptoms

The error 'Trust anchor for certification path not found.' means that the HTTPS binding do not use certificates issued by trusted CA which is a requirement for Android/Windows Phone apps.

 

This is a common issue on Android, please refer to this article: https://developer.android.com/training/articles/security-ssl.html#CommonProblems

Troubleshooting Steps

Verify your SSL Certificate installation by adding your K2 site here: https://www.digicert.com/help/. If any error appears on the result you will need to check CA with your infrastructure team.

 

Possible resolution options:

- Obtain trusted certificate from public CA

- Add self-signed certificate into Android device trusted root certification authorities

- Switch to HTTP instead of HTTPS.


0 replies

Be the first to reply!

Reply