When attempting to save a new credential vault setting. the operation fails with The server was unable to connect to the(vault API URL)
The localhost shows the below entries:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetorg.springframework.web.client.ResourceAccessException: I/O error on GET request for "<credential vault URL>"
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 the cert being used to create the credential vault connection is from a private CA, then the root certificate must be imported into CAcerts.
Import the root cert used by the credential vault into cacerts.
Importing SSL certificates to Enforce or Discover servers