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 Installation/Configuration Support » SSL on 5.3 please help

Post new topic  Reply to topic
 SSL on 5.3 please help « View previous topic :: View next topic » 
Author Message
weq92f
PostPosted: Thu Nov 01, 2007 1:59 pm    Post subject: SSL on 5.3 please help Reply with quote

Newbie

Joined: 01 Nov 2007
Posts: 2

I'm attempting to setup SSL against a basic 5.3 MQ system on UNIX. I have only local queues which are accessed from remote via MQclient to put/get and accessed locally to get/put via Java.

I'm new to SSL in general and am finding it very difficult to understand the related ibm MQ documentation.

Can someone point me to a good tutorial or guide for setting up SSL on MQSeries channels?

The goal is to require authentication ( userid/password ) and encrypt the data going through the queues.

Questions for now:
What are the main steps to get SSL up with the above characteristics?
These are what I've gotten from the docs:
1) create the keystore
2) create certificates
3) set SSLCIPH, SSLCAUTH in the channel definition ( SVRCONN )
4) there must be more to it that this?
What type of keystore should I create given the above access methods?
Can I get by using self-signed certificates ( this is an intranet app )? If not how/where do I find a CA to build real certs for me?
Are local connections ( those initiated from the MQ server running as the owner of all MQ objects ) required to go through SSL auth once this stuff is setup?

I know, clueless eh!

Thanks,

-klb
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Nov 01, 2007 4:38 pm    Post subject: Re: SSL on 5.3 please help Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

weq92f wrote:
I'm attempting to setup SSL against a basic 5.3 MQ system

Upgrade to 6.0! 5.3 is no longer supported.


Anyway, for SSL help (the wizard is particularly good):

MC6C: WebSphere MQ - How to Configure SSL

MH03: WebSphere MQ SSL Configuration Checker

MO04: WebSphere MQ SSL Wizard
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
weq92f
PostPosted: Fri Nov 02, 2007 10:18 am    Post subject: Reply with quote

Newbie

Joined: 01 Nov 2007
Posts: 2

Sorry, not an option to upgrade.

After completing what I think is a good SSL config, I can connect and write messages onto a Queue without using a cert or requiring any SSL specific code from the MQserver. Trying to do the same from remote causes an error, but I'm using the sample programs to do so and I don't believe they support SSL:

MQSERVER=<CHANNEL_NAME>/TCP/<IPADDRESS>(port)
export MQSERVER

amqsputc QNAME QMANAGERNAME
Sample AMQSPUT0 start
MQCONN ended with reason code 2393

Server log shows:
Remote channel '<CHANNEL_NAME>' did not specify a CipherSpec

How to specify the CIPHERSPEC for simple command line testing?

Trying to use JAVA from the client, I find that the /opt/mqm/java JAVA_HOME area does NOT have javax.net.ssl and so the java program blows up with this error:

java.lang.NoClassDefFoundError: javax/net/ssl/HandshakeCompletedListener

Where can I download the javax.net.ssl library or JAR files? I've looked all over sun.com and goole to no avail. All I can find are complete JDK/JRE installations containing the JSSE code but MQ requires that JAVA_HOME be set to /opt/mqm/java right? What to do?

Thanks

-klb
Back to top
View user's profile Send private message
bbburson
PostPosted: Fri Nov 02, 2007 10:23 am    Post subject: Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

You cannot use MQSERVER variable to connect to an SSL channel. I'm sure that's mentioned in one or more of the links PeterPotkay provided.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » SSL on 5.3 please help
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.