Author |
Message
|
Balaji_P |
Posted: Sun Jan 17, 2010 6:42 pm Post subject: Java Application With MQ using SSL error !!!!!!!!!! Urgent |
|
|
Apprentice
Joined: 05 Sep 2006 Posts: 36 Location: Chennai
|
Hi
Recently we implemented the SSL for one of our Java Application to connect to Websphere MQ. We found that it didnt go well and Queue Manager is rejecting the connection . The information we have at the Java application end is as below
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE013: Error accessing socket streams
at com.ibm.mq.SSLHelper.createSSLSocketInstance(SSLHelper.java:470)
at com.ibm.mq.SSLHelper.createSSLSocket(SSLHelper.java:118)
at com.ibm.mq.MQInternalCommunications.createSocketConnection(MQInternalCommunications.java:1587)
at com.ibm.mq.MQInternalCommunications.access$000(MQInternalCommunications.java:114)
at com.ibm.mq.MQInternalCommunications$1.run(MQInternalCommunications.java:498)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.mq.MQInternalCommunications.<init>(MQInternalCommunications.java:494)
at com.ibm.mq.MQSESSIONClient.MQCONN(MQSESSIONClient.java:1344)
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:218)[/b]
Any guess or direction on what may be the reason for this error. |
|
Back to top |
|
 |
Vitor |
Posted: Sun Jan 17, 2010 7:04 pm Post subject: Re: Java Application With MQ using SSL error !!!!!!!!!! Urge |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Balaji_P wrote: |
Any guess or direction on what may be the reason for this error. |
Does exactly the same connection work without SSL?
Does exactly the same connection with SSL for a non-Java app? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Balaji_P |
Posted: Sun Jan 17, 2010 11:50 pm Post subject: |
|
|
Apprentice
Joined: 05 Sep 2006 Posts: 36 Location: Chennai
|
Yes it works fine for non SSL. Moreover, we have a valid certificate for the application now and when we tried renewing them(creating new) it has thrown the above error.
Now we have rolled back our changes.
Can someone help me in figuring out the exact steps for SSL Implementation from Java Application to IBM websphere MQ |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jan 18, 2010 8:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You changed the client cert only?
Did you check for compatibility with the certs (client / server) and channel attributes?
Is the CA of the new client cert known to the server?
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
zpat |
Posted: Mon Jan 18, 2010 8:36 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
Balaji_P |
Posted: Mon Jan 18, 2010 8:14 pm Post subject: |
|
|
Apprentice
Joined: 05 Sep 2006 Posts: 36 Location: Chennai
|
Hi
Thanks all for the reply.
We are using Websphere MQ Base Classes for Java. The Java application has the Keystore( JKS) which has imported Certificate(.crt ) into it.
We are having a keystore and trustore protected with password.
What are all the things we need to do at the queue manager end or if somebody can brief me the steps on "Enabling the SSL Between Java Client and MQ Server".
Thanks in advance. Its an production change so kindly help |
|
Back to top |
|
 |
|