clj-http 2019-12-19

@erwinrooijakkers has joined the channel

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?

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