|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Using SSL to access queue |
« View previous topic :: View next topic » |
Author |
Message
|
santosh.lokhande |
Posted: Wed May 16, 2007 6:27 am Post subject: Using SSL to access queue |
|
|
Newbie
Joined: 03 Mar 2007 Posts: 6 Location: NA
|
Hi,
I have a requirement to use SSL to access queue's.
We have already tested the java code for accessing queue's without SSL but now the requirement is to have SSL enabled queue's to be accessed.
Could some help and tell me what changes do I have to do within my java's so that this could be achieved.
The client has sent across the SSL Certificate to me.
Thanks
Santosh _________________ Regards
Santosh |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 16, 2007 6:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
AFAIK you use SSL to secure access to the queue manager, i.e. in the connection that the program using.
Check out the Security manual for the configuration changes you need. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Fri May 18, 2007 9:59 pm Post subject: Re: Using SSL to access queue |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
santosh.lokhande wrote: |
Hi,
I have a requirement to use SSL to access queue's.
We have already tested the java code for accessing queue's without SSL but now the requirement is to have SSL enabled queue's to be accessed.
Could some help and tell me what changes do I have to do within my java's so that this could be achieved.
The client has sent across the SSL Certificate to me.
Thanks
Santosh |
In your JAVA app you have to set sslCipherSuite .
It should be the same like SSLCIPH channel attribute.
Then you have to specify key store and trust store.
Code: |
MQEnvironment.sslCipherSuite = "SSL_RSA_WITH_NULL_MD5";
System.setProperty("javax.net.ssl.keyStore", "client.jks");
System.setProperty("javax.net.ssl.keyStorePassword","password");
System.setProperty("javax.net.ssl.trustStore","client.jks");
System.setProperty("javax.net.ssl.trustStorePassword","password");
|
_________________ Marcin |
|
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
|
|
|
|