Skip to Content
Author's profile photo Nick Yang

JDK Keystore with Eclipse Cloud Platform Integration tool

In this blog, I am going to share how I fixed an login issue while trying to login to Cloud Platform Integration (CPI) tenant from Eclipse.


I was able to connect and login to my CPI tenant from Eclipse (Neon) and doing anything I have to do, but no idea keeping login failed yesterday and I am pretty sure password is correct. The error message in the below is shown in Eclipse error log table: PKIX path building failed: unable to find valid certification path to requested target
Caused by: unable to find valid certification path to requested target
	... 71 more

From error message, it’s very clear and pointing out that the certificate used by CPI is not in the trust list of local JDK keystore. I think maybe SAP updated CPI certificate recently, so this problem happened. Because it didn’t happen in last few months.


I think obviously the solution to fix this problem is to add CPI certificate into local JDK keystore. Here I am going to use a open source GUI tool call KeyStoreExplorer ( to achieve this. The tool is also mentioned in many other SAP blogs. I also use this tool to maintain/create required credentials for CPI when setting up SSH communication on CPI.

Firstly, you download and extract/install the program from official web site. I use JAR version from manual installation option and run following command prompt.

java -jar kse.jar

Second step, click “Open an existing KeyStore” and “by default” the keystore file “cacerts” is locate inside JDKFolder/jre/lib/security folder.

Third step, when you reach the right folder, pick up the right file and open it. The tool will prompt you entering password to open the keystore. Again “by default” the password is “changeit”.

Fourth step, if you didn’t change the password and file is not crash, you should be able to see many certificates inside the keystore. Now, we are going to add CPI certificate into the keystore. The easies way to do it is go to menu “Examine” –> “Examine SSL”.

In the dialog, you enter your tenant URL and SSL port 443, then click “OK” button.

The tool will retrieve the certificate as well as other certificates in the chain and showing on the screen. Next step, you select the root one, click “Import” button and give alias name to the certificate. After that the certificate will be imported into current open keystore.

The selected certificate should appear in the keystore list.

Last step, save the keystore and restart Eclipse. It solved my login problem.


Hopefully this blog helps someone who is encountering same problem like me and probably learn something that hasn’t seen before. Cheers.



Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Naresh Dasika
      Naresh Dasika

      Hello Nick,

      Thanks for sharing this valuable information from your experience.

      Few questions here:

      Despite of not having "JDK Keystore" on my local machine am able to connect to HCI tenant without any issues?

      Is it mandatory to have a CPI public certificate stored on the local machine to access HCI tenant?





      Author's profile photo Nick Yang
      Nick Yang
      Blog Post Author

      Hi Naresh,

      If keystore not existing in the JDK used by Eclipse, then you will get the same error like I showing in this blog. It is required to have CPI certificate in local JDK keystore. Cheers.



      Author's profile photo Gayathri Narayana
      Gayathri Narayana


      The SAP recommended tooling for managing your integration content including security artifacts like keystores and certificates for SAP Cloud Platform Integration is the web UI. Eclipse tooling is no longer supported (except for specific use cases), refer to blog





      Author's profile photo Nick Yang
      Nick Yang
      Blog Post Author

      Hi Gayathri,

      Thanks for the information and reminder. Because I was developing custom adapter at the time. So, Eclipse is still the only way to go with. I use WebUI from the beginning to develop all the integration flows. Thanks.



      Author's profile photo Satish Vidiyala
      Satish Vidiyala


      I am using Eclipse for more than year to deploy the components in CPI tenant. I was able to connect to CPI operational server till now but i am experiencing the connectivity issue from Eclipse to CPI.

      I was using JRE only for Eclipse but i have installed JDK for SFO workbench and started experiencing the issue.


      I tried to validate the SSL certs using keystore but couldnt find the SCP certificates.