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 » client (both MQ and Java) connect to QMGR using ssl

Post new topic  Reply to topic
 client (both MQ and Java) connect to QMGR using ssl « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Thu Sep 18, 2008 10:47 am    Post subject: client (both MQ and Java) connect to QMGR using ssl Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

I have ssl channel set up between a Windows MQ client and an AIX Qmgr and it is working fine.

The windows MQ client key repository (MQClient.kbd) contains
1. a certificate with a lable ibmwebspheremquser.id1 where user.id1 is the userId of the Windows client. A self signed cert created on Windows.
2. a certificate with a lable ibmwebspheremqaixqm1 where AIXQM1 is the Qmgr on AIX. The cert was FTPed from AIX

The AIX MQ Server key repository contains
1. a certificate with a lable ibmwebspheremqaixqm1 where AIXQM1 is the Qmgr on AIX. A self signed cert created on Windows
2. a certificate with a lable ibmwebspheremquser.id1. The cert was FTPed from Windows.

I am also doing SSLPEER on the QM.SVRCONN channel checking for the DN name of the incoming cert from the client.

This works fine with Native MQ client.

The client now wants to use Java. I did the follwing
1. I created a new key repository JavaClient.jks
2. Add the ibmwebsphereuser.id1 and ibmwebspheremqaixqm1 to JavaClient.jks

The SSL connection starts OK if I am not doing client authentication SSLCAUTH(OPTIONAL). Once I changed it to required the connection will fail with mqrc2009.

Is there anything I missed? Any suggestion? The client needs to run both Java and non-Java programs
Back to top
View user's profile Send private message
WBI_user
PostPosted: Thu Sep 18, 2008 11:35 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

I did another test by deleting the original ibmwebsperemquser.id1 certificate from both the client (JavaClient.jks ) and Server key repository. I then created a new ibmwebsperemquser.id1 in the JavaClient.jks , FTP it to AIX and add that the the AIX key repository. Now the Java client works.

So it seems to me that the ibmwebspheremquser.id1 generated in the MQClient.kdb for native MQ works for MQ Native client and the ibmwebspheremquser.id1 generated in the JavaClient.jks works for MQ Java client. But I can only have one ibmwebspheremquser.id1 in my AIX server key repository. Does it mean that I can not have MQ native client and Java client doing SSL connect to the same server at the same time?
How can I support a user with both requirements?
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 » client (both MQ and Java) connect to QMGR using ssl
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.