Posted: Thu Sep 18, 2008 10:47 am Post subject: client (both MQ and Java) connect to QMGR using ssl
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
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?
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