Hello,
I am getting this error when I use http4s
Caused by: sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
My camel context has
<camel:sslContextParameters id="sslContextParameters">
<camel:keyManagers keyPassword="{{password}}">
<camel:keyStore
resource="{{keystorefile}}"
password="{{password}}" />
</camel:keyManagers>
<camel:secureSocketProtocols><camel:secureSocketProtocol
xsi:nil="false">TLSv1</camel:secureSocketProtocol></camel:secureSocketProtocols>
</camel:sslContextParameters>
And I have used URL as
https4://test?&sslContextParametersRef=sslContextParameters
Certs are added to keystore mentioned.
Am I missing something? Do we need to restart system or something for certs to
take effect?
Vanshul