SAP Knowledge Base Article - Public

3083446 - "Only jks extension is supported" error when starting LDC (Live Data Connection to Universe) in SAP Analytics Cloud (SAC)

Symptom

  • "Only jks extension is supported" error when starting LDC (Live Data Connection to Universe) version 3.3 or later
  • The same Keystore in JKS format worked in LDC 3.2
  • "Error during keystore loading : Invalid keystore format(exception is IOException)."

Environment

  • SAP Analytics Cloud (Enterprise) 2021
  • LDC 3.3 or later

Reproducing the Issue

  1. Configure the Live Data Connection to Univers as per Product Guide 
  2. Start LDC.exe
  3. It fails with the error "[LDC LAUNCHER - ERROR] Keystore validation of <filestore file location>... Only jks extension is supported"

Cause

From LDC 3.3, it enforces the file extension of Keystore file. It will pass the Keystore validation only when the file extension of Keystore file is jks.

Please note that the file format of the Keystore file must also be jks. PKCS12 is currently not supported.

If you have a PFX or .P12 format keystore file, then you can convert it to JKS by using the command

  • PFX: keytool -importkeystore -srckeystore mypfxfile.pfx -srcstoretype pkcs12 -destkeystore clientcert.jks -deststoretype JKS
  • PKCS12: keytool -importkeystore -srckeystore myp12file.p12 -srcstoretype PKCS12 -destkeystore myjksfile.jks -deststoretype jks

Resolution

You can recreate the JKS Keystore with a new name, or simply rename your Keystore file and change its file extension to jks ( for example mykeystore.jks ) , then update the references in LDC.properties configuration file.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped , KBA , LOD-ANA-LDC-UNV , SAC Live Data Connection Universe , Problem

Product

SAP Analytics Cloud 1.0