I have a pipeline library that needs to talk to my Vault server over https. Problem is that Jenkins doesn't trust the CA the vault server certificate was signed with so I get errors like the following.
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused: sun.security.validator.ValidatorException: PKIX path building failed
... snip ...
Following the instructions outlined here: https://support.cloudbees.com/hc/en-us/articles/203821254-How-to-install-a-new-SSL-certificate-
I add the CA to to the keystore and instruct Jenkins to use it. However, now when I run the pipeline, the library can't fetch it's dependancies