Hi
I am using clj-http with a keystore (a keystore.pfx)
It works locally
But not in a Docker on Kubernetes
Exception:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
It’s a self-signed certificate
Any ideas how to fix? Do we need to add it to the JVM some way?
Also asked on SO: https://stackoverflow.com/questions/59410311/suncertpathbuilderexception-when-calling-endpoint-from-kubernetes-docker
I believe the latest suggestion on the stackoverflow post from cfrick
about adding to the truststore is what you need. we had a similar situation recently where we had to do that. if you have trouble doing so let me know and I can dig up my notes on what we did