-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
25.0.1.Final
-
None
-
-
---
-
---
Hi,
We are creating an empty truststore at wildfly startup and later we are adding self signed certificates to the truststore.
After that we are reloading keystore and trust manager using below commands:
./bin/jboss-cli.sh --connect <<EOF
/subsystem=elytron/key-store=trust-store:load
/subsystem=elytron/trust-manager=TrustManager:init
EOF
Below is the output of commands:
[standalone@localhost:9990 /] /subsystem=elytron/key-store=trust-store:load
[standalone@localhost:9990 /] /subsystem=elytron/trust-manager=TrustManager:init
{"outcome" => "success"}
We are enabling elytron to reload truststore without restarting the JVM.
It seems that the new truststore is not taken into use by the JVM. If we restart the JVM then only new truststore is taken into the consideration.
We are observing below exceptions after reloading truststore:
Connection is failing and getting below exceptions:
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
This exception is not seen when we restart the JVM
Could you please provide some pointers to resolve this issue?