|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Configuration Manager Proxy API & SSL |
« View previous topic :: View next topic » |
Author |
Message
|
mdemidov |
Posted: Wed Nov 05, 2008 1:21 pm Post subject: Configuration Manager Proxy API & SSL |
|
|
Newbie
Joined: 20 May 2008 Posts: 3
|
Has anybody used Configuration Manager Proxy API over SSL? Could you please provide me with some hints...
I had a working program that uses CMP. When Server-Connection channel on MQ Queue Manager was not protected with SSL everything worked fine. Then I enabled SSL according to the customer requirement. Now I'm having problems...
I created .jks key ring file and imported certificates into it (key label is ibmwebspheremqmdemidov). Then I modified the code:
Code: |
String sslKeyStorePath = "D:\keystores\jkey_admin.jks";
String sslTrustStorePath = sslKeyStorePath ;
String sslCipher = "SSL_RSA_WITH_NULL_MD5";
MQConfigManagerConnectionParameters cmcp = new MQConfigManagerConnectionParameters(qmgrHost, qmgrPort, qmgrName, (String) null, (URL) null, sslCipher, (String) null, sslKeyStorePath, sslTrustStorePath, (String) null);
cmp = ConfigManagerProxy.getInstance(cmcp); |
But CMP API seems to not even try to use SSL... I have 2009 MQ error and QM error log tells that client did not specified SSL cipher. Any ideas?
Many thanks in advance,
Michael Demidov |
|
Back to top |
|
 |
mqmatt |
Posted: Thu Nov 06, 2008 10:41 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
FWIW, the Config Manager Proxy just passes on the SSL parameters you give it onto the MQ Classes for Java.
So if you can connect an arbitrary MQ Java client application to your queue manager, then there's no reason why a CMP application wouldn't work. |
|
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
|
|
|
|