MC330K StageNow Staging Error Java.Security.cert.CertPathValidatorException

MC330K StageNow Staging Error Java.Security.cert.CertPathValidatorException

MC330K StageNow Staging Error Java.Security.cert.CertPathValidatorException


Audience
Tags

I have a MC330K device and have been trying to stage an application. When instructed to download the apk, I receive an error stating that "Trust anchor for certification path not found".
I have checked that my device has the certificate for the website installed and accessing the endpoint via chrome allows me to download the apk fine without any issues. I have attempted to stage on other devices (two TC77s and one MC330k) and it has worked for them.
What could be the problem with the device and how can I fix this.

Submitted by ZWTG ZWTG on February 01, 2021 Permalink

Hi James,
Thanks for the response. I'm still getting familiar with certificates however I am a bit confused about why the issue might exist only with StageNow on this particular device. If I access the endpoint directly via browser from the device, Chrome has no issues with the certificate.
I have confirmed that clearing the device certificates will cause Chrome to display a safety warning as the endpoint is not trusted. Installing the certificate and refreshing then resolves this, and the endpoint is trusted fine.
Im not entirely sure what the issue could be with the certificate, as this suggests to me that the cert is being used fine by Chrome and only Stagenow has the issue. It also seems to work fine on the other devices available for testing, and only this particular device appears to still have this issue.
Thanks,

Submitted by James Swinton … on February 01, 2021 Permalink

Hi ZWTG,
This issue is typically caused by one of three reasons: 

The CA that issued the server certificate was unknown
The server certificate wasn't signed by a CA, but was self signed
The server configuration is missing an intermediate CA

Given that you cannot modify StageNow, you will need to modify the Certificate / CA of your server to resovle this issue. Android have more information here: https://developer.android.com/training/articles/security-ssl.html#Common...
Regards,
James