Manage JMS Destination - Connect to Active MQ With SSL
search cancel

Manage JMS Destination - Connect to Active MQ With SSL

book

Article ID: 237455

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

We are trying to connect to Active MQ Queue with ssl://ip:port 

But we are getting a error as below.

com.l7tech.server.transport.jms.JmsAdminImpl: Caught JMSException while testing endpoint 'Could not connect to broker URL: ssl://<host-name>:61616. Reason: 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, caused by sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, caused by PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, caused by unable to find valid certification path to requested target'

Gateway is not considering the certificate even if it is imported in Gateway.

Please let us know if there is any Option to Configure SSL in Manage JMS Destinations assertion 

 

Environment

Release : 10.0

Component :

Resolution

We do not support ssl for activemq at the moment  , the driver does not support reading the certs from the gateway certs store .

As a workaround you can install the certificate in the default java cacerts keystore  for the JRE used by the gateway.