SAP Knowledge Base Article - Preview

3598858 - Simple Diagnostics Agent cannot read PSE file after SSL configuration due to errors "Cannot open file" - SAP Focused Run

Symptom

The Simple Diagnostic Agent fails to upgrade or after enabling SSL for Simple Diagnostics Agent, the agent status in Agent Administration is red. In the agent.log file, the following exception is found:

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
ERROR [main] com.sap.solman.agent.core.spring.AbstractSdaFailureAnalyzer com.sap.solman.agent.core.cert.impl.KeyStoreAccessException : cannot read global key store
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.sap.solman.agent.core.cert.impl.KeyManagerFactoryImp': Invocation of init method failed
       ...
Caused by: com.sap.solman.agent.core.cert.impl.KeyStoreAccessException: cannot read global key store
    at com.sap.solman.agent.core.cert.impl.KeyManagerFactoryImp.initGlobal(KeyManagerFactoryImp.java:150)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
       ...
Caused by: com.sap.solman.agent.core.cert.CertificateException: C:\Program Files\SAP\hostctrl\exe\sec\SAPSSLS.pse
    at com.sap.solman.agent.core.cert.impl.CertificateStore.openKeyStoreFile(CertificateStore.java:311)
    at com.sap.solman.agent.core.cert.impl.CertificateStore.readFile(CertificateStore.java:134)
    ...
Caused by: java.io.IOException: Error parsing pse file
    at com.sap.commoncryptolib.provider.KeyStorePSE.engineLoad(Unknown Source)
    at java.base/java.security.KeyStore.load(KeyStore.java:1500)
    ...
Caused by: java.security.KeyStoreException: Error [0xa1000202]: Cannot open file
    at com.sap.commoncryptolib.provider.CCLKeyStorePSE.jniNewWithPSE(Native Method)
    at com.sap.commoncryptolib.provider.CCLKeyStorePSE.create(Unknown Source)
    ...
ERROR [main] org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter 


Read more...

Environment

SAP Focused Run

Product

SAP Focused Run all versions

Keywords

SAP host agent, upgrade, Simple Diagnostics Agent, SDA, internal server error, /lmsl/sda, Focused Run, FRUN, global key store, PSE, sapadm, SSL setup, SAPSSLS.pse, SDAgent , KBA , SV-FRN-INF-SDA , Simple Diagnostic Agent (SDA) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.