We have recently added a load balancer and when I am trying to execute an API from API Portal i am getting the below error
We are on 10.15 and our API Portal is hosted on OpenShift.
-1 PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I tried to add the add the certificates to /opt/softwareag/jvm/jvm/lib/security/cacerts but no luck with that.
We have recently added a loadbalancer(which is a service) and when I am trying to execute an API from API Portal I am getting the below error
-1 PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
If I run the same API using postman, I am getting a successful response but when I run the same using portal i get the above error.
I tried to add the add the certificates(root,Intermediate,Server) to /opt/softwareag/jvm/jvm/lib/security/cacerts but no luck with that.
------------------------------
Abhijith Parre
------------------------------