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 Security » SSL between WMQ and WAS

Post new topic  Reply to topic
 SSL between WMQ and WAS « View previous topic :: View next topic » 
Author Message
oopz4u
PostPosted: Sun Feb 21, 2010 9:40 pm    Post subject: SSL between WMQ and WAS Reply with quote

Newbie

Joined: 21 Feb 2010
Posts: 2

Hi Freinds...

Im a newbie to WebShpere MQ, for SSL testing (securing communication between WAS and WMQ), I have created a channel "SSL.SVRCONN" and made a listener "SSL.SVRCONN_LISTENER" and assigned port 9999, (listner is running, but the channel is showing inactive)

My doubt is how to make the channel listen to port 9999... becoz the application on WAS is not able to connect to the Queue Manager.. it is giving following error

"Error 500:com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018: Failed to connect to queue manager 'qm_example' with connection mode 'Client' and host name 'mypc'. Check the queue manager is started and if running in client mode, check there is a listener running."

Before implementing SSL, communication between WAS and WMQ was successfull and that time i was using SYSTEM.DEF.SVRCONN as channel and default port 1414

Looking forward for ur replies..

Regards
Win Najeem
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Feb 21, 2010 10:48 pm    Post subject: Re: SSL between WMQ and WAS Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

oopz4u wrote:
My doubt is how to make the channel listen to port 9999...


Channels don't listen, queue managers listen.

oopz4u wrote:
the application on WAS is not able to connect to the Queue Manager.. it is giving following error

"Error 500:com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018: Failed to connect to queue manager 'qm_example' with connection mode 'Client' and host name 'mypc'. Check the queue manager is started and if running in client mode, check there is a listener running."


Sounds like your configuration is at fault, or something's blocking that port.

oopz4u wrote:
Before implementing SSL, communication between WAS and WMQ was successfull and that time i was using SYSTEM.DEF.SVRCONN as channel and default port 1414


Well in a secure system you wouldn't use the well known default port and you should never use the default objects.

But having said that you should get the connection working on SSL.SVRCONN using a listener on whatever port you fancy using, then add SSL to that channel. Because SSL is a channel characteristic not a port one.

The documentation has details on all of this.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Mon Feb 22, 2010 2:21 am    Post subject: Re: SSL between WMQ and WAS Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

oopz4u wrote:
...Im a newbie to WebShpere MQ, for SSL testing (securing communication between WAS and WMQ)....

Well... welcome first of...
oopz4u wrote:

I have created a channel "SSL.SVRCONN" and made a listener "SSL.SVRCONN_LISTENER" and assigned port 9999, (listner is running, but the channel is showing inactive)

True, pls have a look at the disconnect interval and heartbeat interval.
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzae.doc/ic11690_.htm

oopz4u wrote:
..My doubt is how to make the channel listen to port 9999...

Vitor has rightly given the answer for that.

oopz4u wrote:
...becoz the application on WAS is not able to connect to the Queue Manager.. it is giving following error...
"Error 500:com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018: Failed to connect to queue manager 'qm_example' with connection mode 'Client' and host name 'mypc'. Check the queue manager is started and if running in client mode, check there is a listener running."

well... JMS seems to perform MQOPEN but websphere MQ Reported an error on that. Could you please provide the linked exception to determine the cause of the error. ( as you said.. you were trying to implement the ssl on channel.. so first of all.. check the settings at the client/application side and mq server side.)

Vitor wrote:
The documentation has details on all of this.

Agree !
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
oopz4u
PostPosted: Mon Feb 22, 2010 5:37 am    Post subject: Reply with quote

Newbie

Joined: 21 Feb 2010
Posts: 2

Hi,

I followed the below link, for setting up the SSL environment.

http://www.ibm.com/developerworks/websphere/techjournal/contact admin/contact admin.html
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 22, 2010 6:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

oopz4u wrote:
Hi,

I followed the below link, for setting up the SSL environment.

http://www.ibm.com/developerworks/websphere/techjournal/contact admin/contact admin.html


Which is all fine but does assume a knowledge of WMQ. It certainly doesn't cover channels in detail, makes no mention of listeners and doesn't claim that channels have specific port numbers. That's why, in the pre-requisites section at the top, it calls for a basic knowledge of such things.

Review the WMQ documentation, get a grounding in the product and then try stuff in the technical articles.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Mon Feb 22, 2010 6:30 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

oopz4u wrote:
Hi,

I followed the below link, for setting up the SSL environment.

http://www.ibm.com/developerworks/websphere/techjournal/contact admin/contact admin.html


Have you tried implementation using .jks file ?
Have you used 'Transport type' other then 'Client' ?
Have you managed to see the queue manager error log ?
Have you able to fetch 'Linked Exception' of your error ?
I tried using 'TRIPLE_DES_SHA_US' SSLCipherSpec and with unchecked 'Accept the certificate with Distinguished Names Matching values', Have you ?
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Mon Feb 22, 2010 7:23 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

PM (I think it's working now) as I have something that may help...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Mon Feb 22, 2010 7:55 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

exerk wrote:
PM (I think it's working now)...

Oops not for me atleast !
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Security » SSL between WMQ and WAS
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.