2024-03-25 02:45 AM - edited 2024-03-25 02:45 AM
When installing some StellarStudio plugins http://*.srxstudio.org , you can meet the issue : sun.security.validator.ValidatorException: PKIX path building failed
It is typical IT Issue :face_screaming_in_fear: in each corporate company.
“"Path building" refers to the process of verifying a chain of certificates from a specific certificate up to a root CA (Certificate Authority) certificate. If this process fails, it means that the application could not construct a trusted path from the server's certificate to a root CA.”
IMPORTANT : The customer needs to install their own root certificate in JRE StellarStudio keystore
The keytool that is used to access the keystore is typically installed with the JRE and ready to use.
c:\StellarStudio-5.0\eclipse\jre\bin\keytool -import -trustcacerts -alias myrootCA -file myrootCA.cer -keystore cacerts
By default keystores have a password of "changeit"
This imports the certificate into the keystore and display the message: "Certificate was added to keystore".