|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ActiveMQ SSL Configuration from Message Broker |
« View previous topic :: View next topic » |
Author |
Message
|
nukalas2010 |
Posted: Sun Apr 16, 2017 10:31 pm Post subject: ActiveMQ SSL Configuration from Message Broker |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
|
Back to top |
|
 |
harish_td |
Posted: Mon May 22, 2017 12:28 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|