Hi Team,

I am getting below mentioned error while accessing keycloak API with self-sign certificate .Please note that same code is working file we installed proper certificate.

Error Message : RESTEASY004655: Unable to invoke request: PKIX path building failed: unable to find valid certification path to requested target

Keycloak Version : 11.0.2

Please help me how to resolve this issue .

Thanks in advance :blush:


Mangesh Shrotey


You should add your certificate in the trusted ca

keytool -import -file myecert.cer -keystore /etc/ssl/certs/java/cacerts -alias mycert