SAP Knowledge Base Article - Preview

2616092 - System availability checks: Unable to open SSL connection to host "host:port". KeyStore

Symptom

Customer is having issues with host and protocol, on system availability metrics.

  • When you check on agent logs, you encounter errors like the one below:

Error
Location: com.sap.smd.e2emai
Text: [HTTPConnection.exec] MetricGroup [00000000000000000018,INSTANCE] HTTP Call failed: https://host:port/sap/public/ping
[EXCEPTION]
java.rmi.RemoteException: Error to perform http request cause by java.io.IOException: Unable to open SSL connection to host "host:port". Unable to create SSLContext because of KeyStore Exception java.security.UnrecoverableKeyException: Cannot recover key..; nested exception is:
java.io.IOException: Unable to open SSL connection to host "host:port". Unable to create SSLContext because of KeyStore Exception java.security.UnrecoverableKeyException: Cannot recover key.
at com.sap.smd.agent.plugin.connectors.http.HTTPConnectorService.performRequest(HTTPConnectorService.java:614)
at com.sap.smd.mai.model.collector.http.HTTPConnection.exec(HTTPConnection.java:138)
at com.sap.smd.mai.model.collector.SAPPingHTTPCollector.collect(SAPPingHTTPCollector.java:69)
at com.sap.smd.mai.job.MetricJobRunner.run(MetricJobRunner.java:32)
at com.sap.smd.server.exec.TaskRunner.run(TaskRunner.java:47)
at com.sap.smd.server.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:785)
at java.lang.Thread.run(Thread.java:763)
Caused by: java.io.IOException: Unable to open SSL connection to host "host:port". Unable to create SSLContext because of KeyStore Exception java.security.UnrecoverableKeyException: Cannot recover key.
at com.sap.smd.agent.plugin.connectors.http.AgtConnection.openSocket(AgtConnection.java:2172)
at com.sap.smd.agent.plugin.connectors.http.AgtConnection.open(AgtConnection.java:1405)
at com.sap.smd.agent.plugin.connectors.http.AgtConnection.sendInternal(AgtConnection.java:1559)
at com.sap.smd.agent.plugin.connectors.http.AgtConnection.send(AgtConnection.java:1490)
at com.tssap.dtr.client.lib.protocol.requests.RequestBase.perform(RequestBase.java:554)
at com.tssap.dtr.client.lib.protocol.requests.RequestBase.perform(RequestBase.java:667)
at com.sap.smd.agent.plugin.connectors.http.HTTPConnectorService.performRequest(HTTPConnectorService.java:598)
... 6 more

  • Also on availability metric values you encounter: [RC=600] URL https://host:port/sap/public/ping called unsuccessfully [Reason: Error to perform http request cause by java.io.IOException: Unable to open SSL connection to host "host:port". Unable to create SSLContext because of KeyStore Exception java.security.UnrecoverableKeyException: Cannot recover key..; nested exception is: java.io.IOException: Unable to open SSL connection to host "host:port". Unable to create SSLContext because of KeyStore Exception java.security.UnrecoverableKeyException: Cannot recover key.]
  • In Alerting directory browser, after filtering by affected managed objects, on tab "Collector Parameter Variables", host and protocol have wrong values.


Read more...

Environment

SAP Solution Manager 7.2

Product

SAP Solution Manager 7.2

Keywords

http.client.certificate.enabled, http.client.certificate.password, Unable to open SSL connection to host, Unable to create SSLContext because of KeyStore Exception, java.security.UnrecoverableKeyException, Cannot recover key, [RC=600], com.sap.smd.agent.application.connectors, wrong port, wrong protocol. , KBA , SV-SMG-MON-ALR-CFG , Alert / Metric Configuration , SV-SMG-MON-ALR , Monitoring/Alerting/Reporting Infrastructure , 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.