Purpose (problem description)
When the error 'Unable to get local issuer certificate' is seen, it normally indicates one of the following:
- The certificate of the URL accessed is not present in the JRE/JDK keystore.
- The incorrect JRE/JDK is being used.
- The configuration is pointing to the wrong keystore.
The error can be seen in the log.
Sample log is shows below:
To find the AIP Logs please refer CAST Management Studio - Information - How to find logs
Observed in CAST AIP
Release | Yes/No |
---|---|
8.3.x |
Observed on RDBMS
RDBMS | Yes/No |
---|---|
CSS |
Step by Step scenario
- Encountered error in log.
Action Plan
- To resolve the issue that occurs because the certificate of the site is not imported into the JRE/JDK used, then follow the steps in this page: SSL Errors - PXIX path building failed - How to import certificate into JRE/JDK to import the certificate.
- Check your JDK/JRE version and make sure it is one supported by CAST. If you need to install a new version then (the steps below show specific details for console, but similar steps would need to be done on other CAST products):
- Install your JDK
- Update the JAVA_HOME environment variable to the newly installed jdk
- Please stop and then uninstall the console and node service (running uninstall-service.bat)
- Remove the Windows Service by running the following batch file depending on your deployment mode:
%PROGRAMFILES%\CAST\AipConsole\AipNode\tools\aip-node-service-uninstall.bat
%PROGRAMFILES%\CAST\AipConsole\AipConsole\tools\aip-console-service-uninstall.bat
- Remove the Windows Service by running the following batch file depending on your deployment mode:
- Now make sure that the console and node service bat files are pointing to the correct new jdk path (verify this by opening the install service bat file in notepad - see step E for paths if needed):
- Should be something like this:
- Install the console and node service
- Manually install the Windows Service using the following batch files:
%PROGRAMFILES%\CAST\AipConsole\AipNode\tools\aip-node-service-install.bat
%PROGRAMFILES%\CAST\AipConsole\AipConsole\tools\aip-console-service-install.bat
- Manually install the Windows Service using the following batch files:
- Import the certificate in to the new jdk keystore
- Try to reproduce
- Check your configuration and make sure that you have the proper keystore configured and are using the correct keystore location for the CAST application you are using.
If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant input
Relevant input
- Log file showing the error
- A detailed list of the steps done
- Screenshots from part of AIP showing the issue
Notes/comments
Ticket # 28606
Related Pages