How to enable an SSL connection when integrating JBOSS EAP 6.2 with EMS?
book
Article ID: KB0085271
calendar_today
Updated On:
Products
Versions
TIBCO Enterprise Message Service
-
Not Applicable
-
Description
Description: How to enable an SSL connection when integrating JBOSS EAP 6.2 with EMS? Symptoms: Failed to enable an SSL connection when integrating JBOSS EAP 6.2 with EMS. Cause: Detailed steps to an enable SSL connection when integrating JBOSS EAP 6.2 with EMS.
Resolution
To enable an SSL connection, you need to do following:
1. Copy over following jar files from EMS installation lib directory
to following directory:
EAP_HOME/modules/system/layers/base/org/jboss/genericjms/provider/main
slf4j-api-1.4.2.jar, slf4j-simple-1.4.2.jar. You also need to copy over
Java security socket extension jar file: jsse.jar to this directory.
Modify the module.xml file in
EAP_HOME/modules/system/layers/base/org/jboss/genericjms/provider/main as following: =================== <module xmlns="urn:jboss:module:1.1" name="org.jboss.genericjms.provider"> <resources> <resource-root path="tibjms.jar"/> <resource-root path="tibcrypt.jar"/> <resource-root path="slf4j-api-1.4.2.jar"/> <resource-root path="slf4j-simple-1.4.2.jar"/> <resource-root path="remoteJMSObjectFactory.jar"/> <resource-root path="jsse.jar"/>
3. Define the connection factory being looked up with SSL parameters within the EMS server. For example, if the connection factory is called SSLConnectionFactory:
Note: You can not configure the SSL password in the ConnectionFactory because of security reason. EMS will attempt to use the password that is
provided in the createConnection() call, which is the the user's password. You need to set the password of the user who logs in to the EMS server
using the SSL connection factory to the same password as the client
certificate. Per the ActivationConfigProperty sample listed above, the user "MDBuser" is set to the same password as the client certificate.
Now the SSL connection is enabled when integrating JBOSS EAP 6.2 with EMS
Issue/Introduction
How to enable an SSL connection when integrating JBOSS EAP 6.2 with EMS?
Additional Information
See KB article: 39516 for instructions regarding how to integrate JBOSS EAP 6.2 with EMS.