cancel
Showing results for 
Search instead for 
Did you mean: 

HermesJMS in SSL mode

Highlighted

HermesJMS in SSL mode

Hello,

i try to use HermesJMS with SOAPUI.

We use Tibco.

We set these properties for SSL:

SSLExpectedHostName to name1

SSLTrace to true

SSLTrustedCertificate to c:\users\blabla\cert.pem (also try .jks and p12).

It works in TCP mode but when I try to connect in SSL mode I got this error:

com.tibco.tibjms.admin.TibjmsAdminException: Unable to connect to server. Root cause:
javax.jms.JMSException: Failed to connect via SSL to [ssl://xxx:12345]: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.tibco.tibjms.admin.MessengerUtil.<init>(MessengerUtil.java:59)
at com.tibco.tibjms.admin.TibjmsAdmin.<init>(TibjmsAdmin.java:470)
at com.tibco.tibjms.admin.TibjmsAdmin.<init>(TibjmsAdmin.java:451)
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:1357)
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)

 

Someone know how to fix it?

 

Thank you.

New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video