getting ssl exception while using jetbrains/intellij-http-client docker image
Answered
I am tyring to use jetbrains/intellij-http-client cli docker image in a coroprate setup where we have custom cacerts installed in JVM.
I am able to manually call the services across our environments using IDE provided htttp client.
but while trying to automate using docker image provided it is throwing following exception
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
can anyone suggest some solution
Please sign in to leave a comment.
https://www.jetbrains.com/help/idea/2023.2/http-client-in-product-code-editor.html#ssl_certificate
Yes I tried that and Did not help. My understanding is jvm inside the docker image should use our custom caverns but how to configure that is the question.
Please refer to the related issue: https://youtrack.jetbrains.com/issue/IDEA-309012/How-to-pass-Java-properties-to-HTTP-Client-with-and-without-Docker-container
I was able to solve that using
--insecure=true
option of docker