Showing posts with label trustAnchors. Show all posts
Showing posts with label trustAnchors. Show all posts

Friday, 15 September 2017

Error - trustAnchors parameter must be non-empty

Question: Error - trustAnchors parameter must be non-empty

Answer:
It means either you have not provided your trust store or your policy jars not supported.
Replace JCE Policy Jars in order to support bigger encryption algorithm key lengths and trustAnchors issue.

java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors



Question: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors

Answer:
It means certificate your are trying to validate is not passed the verification. No certificate macthed with Signed certificate.