Forum Discussion

ARRUNN's avatar
ARRUNN
Frequent Visitor
2 years ago

Unable to connect SOAPUI to Tibco via HermesJMS

Hello Team,

 

I have received certificates from TIBCO which I have placed in C:\cert folder

Provided serverURL, username password as provided by TIBCO team and SSLTrustedCertificatePath as C:\cert

However on clicking discover in hermesJms (v1.14 SOAP UI 5.3.0) I am getting below error

 

com.tibco.tibjms.admin.TibjmsAdminException: Unable to connect to server. Root cause:
javax.jms.JMSSecurityException: Can not initialize SSL client: no trusted certificates are set
at com.tibco.tibjms.admin.MessengerUtil.<init>(MessengerUtil.java:68)
at com.tibco.tibjms.admin.TibjmsAdmin.<init>(TibjmsAdmin.java:222)
at com.tibco.tibjms.admin.TibjmsAdmin.<init>(TibjmsAdmin.java:203)
at hermes.ext.ems.TibcoEMSAdminFactory.createAdmin(TibcoEMSAdminFactory.java:105)
at hermes.ext.ems.TibcoEMSAdmin.getAdmin(TibcoEMSAdmin.java:75)
at hermes.ext.ems.TibcoEMSAdmin.discoverDestinationConfigs(TibcoEMSAdmin.java:261)
at hermes.impl.HermesAdminAdapter.discoverDestinationConfigs(HermesAdminAdapter.java:84)
at hermes.impl.DefaultHermesImpl.discoverDestinationConfigs(DefaultHermesImpl.java:1358)
at hermes.browser.tasks.DiscoverDestinationsTask.invoke(DiscoverDestinationsTask.java:76)
at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
at java.lang.Thread.run(Unknown Source)
Internal exception:
javax.jms.JMSSecurityException: Can not initialize SSL client: no trusted certificates are set
at com.tibco.tibjms.TibjmsxLinkSSL._initSSL(TibjmsxLinkSSL.java:299)
at com.tibco.tibjms.TibjmsxLinkSSL.connect(TibjmsxLinkSSL.java:378)
at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:671)
at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:1932)
at com.tibco.tibjms.TibjmsQueueConnection.<init>(TibjmsQueueConnection.java:37)
at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:148)
at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:201)
at com.tibco.tibjms.TibjmsQueueConnectionFactory.createQueueConnection(TibjmsQueueConnectionFactory.java:79)
at com.tibco.tibjms.admin.MessengerUtil.<init>(MessengerUtil.java:56)
at com.tibco.tibjms.admin.TibjmsAdmin.<init>(TibjmsAdmin.java:222)
at com.tibco.tibjms.admin.TibjmsAdmin.<init>(TibjmsAdmin.java:203)
at hermes.ext.ems.TibcoEMSAdminFactory.createAdmin(TibcoEMSAdminFactory.java:105)
at hermes.ext.ems.TibcoEMSAdmin.getAdmin(TibcoEMSAdmin.java:75)
at hermes.ext.ems.TibcoEMSAdmin.discoverDestinationConfigs(TibcoEMSAdmin.java:261)
at hermes.impl.HermesAdminAdapter.discoverDestinationConfigs(HermesAdminAdapter.java:84)
at hermes.impl.DefaultHermesImpl.discoverDestinationConfigs(DefaultHermesImpl.java:1358)
at hermes.browser.tasks.DiscoverDestinationsTask.invoke(DiscoverDestinationsTask.java:76)
at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
at java.lang.Thread.run(Unknown Source)

 

My question is which certificate should we pass?

and what format?

  • rashichouhan's avatar
    rashichouhan
    Occasional Contributor

    Hi,

    The error you're seeing: javax.jms.JMSSecurityException: Can not initialize SSL client: no trusted certificates are set suggesting that the SSL certificate provided or the path to it is not correctly set or recognized. It can be done by validating your certification such which certificate you pass/have. What format?, etc.