RUM to BSM on SSL ( 443)

HI Team,

 

When we are integrating RUM to BSM on SSL it is giving below error in config manager log

 

2016-12-19 17:10:46,358 [http-0.0.0.0-8180-2] (ConfigurationRetriever.java:65) ERROR - Failed to publish configuration, because failed to retrieve BSM configuration
2016-12-19 17:10:46,358 [http-0.0.0.0-8180-2] (ConfigManager.java:144) INFO - Retrieve and Publish of Configuration failed.
2016-12-19 17:11:39,327 [Timer-64] (ConfigManager.java:173) INFO - Retrieve Docker Configuration started.
2016-12-19 17:11:39,343 [Timer-64] (ConfigManager.java:181) INFO - Retrieve of Docker Configuration ended successfully.
2016-12-19 17:12:09,312 [Timer-63] (ConfigManager.java:138) INFO - Retrieve Configuration started.
2016-12-19 17:12:09,312 [Timer-63] (BACSettingsRetriever.java:78) INFO - BAC settings loaded successfully. TMCRequestInvoker was set with new settings: {
BaseURL=https://bsmip:443
AuthenticationSettings=no authentication
Proxy=no proxy
SSL Settings={keystore=false, truststore=false, validate trusted=false, validate expiration=false, host validation=false}
Timeout Settings={new connection timeout =120000,response timeout=120000}
Retry Settings={retryOnSent =false,retries=3}
}
2016-12-19 17:12:09,312 [Timer-63] (BACSettingsRetriever.java:78) INFO - BAC settings loaded successfully. TMCRequestInvoker was set with new settings: {
BaseURL=https://bsmip::443
AuthenticationSettings=no authentication
Proxy=no proxy
SSL Settings={keystore=false, truststore=false, validate trusted=false, validate expiration=false, host validation=false}
Timeout Settings={new connection timeout =120000,response timeout=120000}
Retry Settings={retryOnSent =false,retries=3}
}
2016-12-19 17:12:09,327 [Timer-63] (EngineRegistratorJMXHelper.java:70) INFO - Warning occurred while trying to get probe throughput rate from JMX
2016-12-19 17:12:09,343 [Timer-63] (TMCRequestInvoker.java:75) ERROR - TMC call failed. took (in seconds): 0
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1497)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:506)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at com.mercury.rum.engine.common.connection.http.RUMHttpClient.executeMethod(RUMHttpClient.java:267)
at com.mercury.rum.engine.common.connection.http.RUMHttpClient.executePost(RUMHttpClient.java:237)
at com.mercury.rum.engine.common.connection.http.RUMHttpClient.executePost(RUMHttpClient.java:212)
at com.mercury.rum.engine.configmanager.tmc.TMCRequestInvoker.execute(TMCRequestInvoker.java:60)
at com.mercury.rum.engine.configmanager.configretriever.EngineRegistrator.registerEngine(EngineRegistrator.java:126)
at com.mercury.rum.engine.configmanager.configretriever.EngineSettingsRetriever.retrieve(EngineSettingsRetriever.java:29)
at com.mercury.rum.engine.configmanager.configretriever.RetrieveConfigurationHelper.handleRetrieveConfiguration(RetrieveConfigurationHelper.java:56)
at com.mercury.rum.engine.configmanager.configretriever.BSMConfigurationRetriever.retrieveChangedConfiguration(BSMConfigurationRetriever.java:123)
at com.mercury.rum.engine.configmanager.configretriever.ConfigurationRetriever.retrieveAndPublishConfiguration(ConfigurationRetriever.java:55)
at com.mercury.rum.engine.configmanager.ConfigManager.retrieveConfiguration(ConfigManager.java:143)
at com.mercury.rum.engine.configmanager.ConfigManager.handleTimerTick(ConfigManager.java:254)
at com.mercury.rum.engine.configmanager.ConfigManager$1.handleNotification(ConfigManager.java:92)
at com.mercury.rum.engine.common.jmx.timer.NotificationAdapter.handleNotification(JMXTimer.java:433)
at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:154)
at com.sun.proxy.$Proxy94.handleNotification(Unknown Source)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:275)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:352)
at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:337)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:248)
at javax.management.timer.Timer.sendNotification(Timer.java:1236)
at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1198)
at javax.management.timer.TimerAlarmClock.run(TimerAlarmClock.java:74)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:105)
at com.mercury.rum.engine.common.connection.http.CostumValidateX509TrustManagerDecorator.checkServerTrusted(CostumValidateX509TrustManagerDecorator.java:42)
at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:922)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)
... 43 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
... 51 more
2016-12-19 17:12:09,343 [Timer-63] (BSMConfigurationRetriever.java:125) ERROR - error occurred while retrieving configuration for data type [ENGINE_SETTINGS]
com.mercury.rum.engine.configmanager.configretriever.DataTypeRetrieverException: Register Engine Failed
at com.mercury.rum.engine.configmanager.configretriever.EngineSettingsRetriever.retrieve(EngineSettingsRetriever.java:34)
at com.mercury.rum.engine.configmanager.configretriever.RetrieveConfigurationHelper.handleRetrieveConfiguration(RetrieveConfigurationHelper.java:56)
at com.mercury.rum.engine.configmanager.configretriever.BSMConfigurationRetriever.retrieveChangedConfiguration(BSMConfigurationRetriever.java:123)
at com.mercury.rum.engine.configmanager.configretriever.ConfigurationRetriever.retrieveAndPublishConfiguration(ConfigurationRetriever.java:55)
at com.mercury.rum.engine.configmanager.ConfigManager.retrieveConfiguration(ConfigManager.java:143)
at com.mercury.rum.engine.configmanager.ConfigManager.handleTimerTick(ConfigManager.java:254)
at com.mercury.rum.engine.configmanager.ConfigManager$1.handleNotification(ConfigManager.java:92)
at com.mercury.rum.engine.common.jmx.timer.NotificationAdapter.handleNotification(JMXTimer.java:433)
at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:154)
at com.sun.proxy.$Proxy94.handleNotification(Unknown Source)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:275)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:352)
at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:337)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:248)
at javax.management.timer.Timer.sendNotification(Timer.java:1236)
at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1198)
at javax.management.timer.TimerAlarmClock.run(TimerAlarmClock.java:74)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: com.mercury.rum.engine.configmanager.configretriever.RegistrationException: Error occurred while invoking request to register engine
at com.mercury.rum.engine.configmanager.configretriever.EngineRegistrator.registerEngine(EngineRegistrator.java:128)
at com.mercury.rum.engine.configmanager.configretriever.EngineSettingsRetriever.retrieve(EngineSettingsRetriever.java:29)
... 21 more
Caused by: com.mercury.rum.engine.configmanager.tmc.TMCHttpRequestInvokerException: TMC Request [registerHost] failed on IOEXception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.mercury.rum.engine.configmanager.tmc.TMCRequestInvoker.execute(TMCRequestInvoker.java:76)
at com.mercury.rum.engine.configmanager.configretriever.EngineRegistrator.registerEngine(EngineRegistrator.java:126)
... 22 more

 

FOR BSM , SSL is configured at load balancer level. 

 

Regards

 

Parents Reply Children
No Data