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 » IBM MQ API Support » Using SSL to access queue

Post new topic  Reply to topic
 Using SSL to access queue « View previous topic :: View next topic » 
Author Message
santosh.lokhande
PostPosted: Wed May 16, 2007 6:27 am    Post subject: Using SSL to access queue Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Vitor
PostPosted: Wed May 16, 2007 6:56 am    Post subject: Reply with quote

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
View user's profile Send private message
marcin.kasinski
PostPosted: Fri May 18, 2007 9:59 pm    Post subject: Re: Using SSL to access queue Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Using SSL to access queue
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.