I created an API in springboot which internally calls a REST API which is self signed
The error i am getting is
pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requested target
Solution i tried
Since i am using EKS for deploying my application. what i did is
- Create a config map with the self signed certificate for the REST API
- Added The Root CA as a Volume mount in deployment file.
- Verified whether the CA cert is added to Java trust store i can see the certificate
But when i am still getting the PKIX certification issue.