ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ActiveMQ SSL Configuration from Message Broker

Post new topic  Reply to topic
 ActiveMQ SSL Configuration from Message Broker « View previous topic :: View next topic » 
Author Message
nukalas2010
PostPosted: Sun Apr 16, 2017 10:31 pm    Post subject: ActiveMQ SSL Configuration from Message Broker Reply with quote

Master

Joined: 04 Oct 2010
Posts: 220
Location: Somewhere in the World....

Dears,

I am using IBM Websphere message broker V8 to integrate with Active MQ through tcp by configuring the same as mentioned in the below URL.
https://www.ibm.com/developerworks/websphere/library/techarticles/1211_eswarachary/1211_eswarachary.html
This is working perfectly fine.

Now, I want to connect to ActiveMQ from message Broker through SSL. I have already gone through this http://activemq.apache.org/how-do-i-use-ssl.html but didn't get proper sight.

Could anyone please throw some light on this..

Thanks,
Back to top
View user's profile Send private message
harish_td
PostPosted: Mon May 22, 2017 12:28 am    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

The trick was to change this value in the configurable service and leave the JNDI properties as it is.

Code:

mqsicreateconfigurableservice IIB10Node -c JMSProviders -o AMQ-CS-SSL -n jarsURL,jndiBindingsLocation,connectionFactoryName,initialContextFactory -v "E:\Projects\ActiveMQ\JARS","ssl://192.168.25.132:61617","connectionFactory","org.apache.activemq.jndi.ActiveMQInitialContextFactory"


After creating the Configurable Service, instead of selecting the ActiveMQ from the drop down list for the JMS Provider Name, over type the Configurable service being used - in my example AMQ-CS-SSL. Leave all other parameters blank apart from the Source Queue, Destination Queue and the Back out queues, the values for which would continue to be read from the working jndi.properties file.

On the ActiveMQ side, I followed this guide to create the Keystore, trust store
and enable the SSL listener
http://stackoverflow.com/questions/32696121/how-to-activemq-in-ssl

The appropriate keystore and trust store files must be pre-configured for the integration server. If not, you may refer below to the commands that I used

Code:

mqsichangeproperties IIB10Node -e Int-Svr-1 -o ComIbmJVMManager -n keystoreFile -v E:\Projects\ActiveMQ\amq-client.ks

mqsichangeproperties IIB10Node -e Int-Svr-1 -o ComIbmJVMManager -n truststoreFile -v E:\Projects\ActiveMQ\amq-client.ts

mqsichangeproperties IIB10Node -e Int-Svr-1 -o ComIbmJVMManager -n keystorePass -v Int-Svr-1::keystorePass

mqsisetdbparms IIB10Node -n Int-Svr-1::keystorePass -u na -p PASSWORD

mqsichangeproperties IIB10Node -e Int-Svr-1 -o ComIbmJVMManager -n truststorePass -v Int-Svr-1::truststorePass

mqsisetdbparms IIB10Node -n Int-Svr-1::truststorePass -u na -p PASSWORD


mqsireportproperties IIB10Node -o ComIbmJVMManager -a -e Int-Svr-1

ComIbmJVMManager
  uuid='ComIbmJVMManager'
  userTraceLevel='none'
  traceLevel='none'
  userTraceFilter='none'
  traceFilter='none'
  vrmfIntroducedAt='7.0.0.0'
  resourceStatsReportingOn='inactive'
  resourceStatsMeasurements='<ResourceStatsSwitches ResourceType="JVM" version=' 1'> <Measurement name="InitialMemoryInMB" collect="on" /> <Measurement name="Use dMemoryInMB" collect="on" /> <Measurement name="CommittedMemoryInMB" collect="on " /> <Measurement name="MaxMemoryInMB" collect="on" /> <Measurement name="Cumula tiveGCTimeInSeconds" collect="on" /> <Measurement name="CumulativeNumberOfGCColl ections" collect="on" /> </ResourceStatsSwitches>'
  activityLogSupported='no'
  jvmVerboseOption='none'
  jvmDisableClassGC='false'
  jvmShareClasses='false'
  jvmNativeStackSize='-1'
  jvmJavaOSStackSize='-1'
  jvmMinHeapSize='-1'
  jvmMaxHeapSize='-1'
  jvmDebugPort='0'
  jvmSystemProperty=''
  keystoreType=''
  keystoreFile='E:\Projects\ActiveMQ\amq-client.ks'
  keystorePass='Int-Svr-1::keystorePass'
  truststoreType=''
  truststoreFile='E:\Projects\ActiveMQ\amq-client.ts'
  truststorePass='Int-Svr-1::truststorePass'
  crlFileList=''
  enableCRLDP=''
  allowSSLv3=''
  kerberosConfigFile=''
  kerberosKeytabFile=''

BIP8071I: Successful command completion.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ActiveMQ SSL Configuration from Message Broker
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.