When the error 'unable to find valid certification path to requested target' is seen it indicates that the certificate of the URL accessed is not present in the JRE/JDK. So import the certificate into JRE/JDK following the steps described in this page.
The error can be seen in the log.
The error stack is shown below - javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target To find the AIP Console and DMT Logs please refer CAST Management Studio - Information - How to find logs |
Observed in CAST AIP
|
Observed in RDBMS
|
|
The issue occurs because the certificate of the site is not imported into the JRE/JDK used.
a. In the Browser URL for CAST Extend or HTTPS Maven repository – Click on the lock symbol to view the drop-down menu like below and click on Certificate.
b. The Certificate window opens. Now click on Details Tab and perform the Copy to File click
c. The certificate wizard opens -
d. While exporting select the first option.
e. Provide a file path with file name and save with the extension type .CER
f. Click on Finish.
g. To import the certificate into your JRE/JDK - be careful if you have mutiple Java installations that you are importing the certificate into the proper keystore. From an admin Command prompt, run the below command –
2. Restart the AIP service associated with the keystore (Imaging, Node and Console, etc.)
If the above steps do not solve your issue contact CAST Technical Support. with the below Relevant input |
Relevant input
|
Ticket # 28606 |
|
Comments