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 » General IBM MQ Support » label name and mq client user name are different but works

Post new topic  Reply to topic
 label name and mq client user name are different but works « View previous topic :: View next topic » 
Author Message
kordi
PostPosted: Fri Nov 06, 2015 3:10 am    Post subject: label name and mq client user name are different but works Reply with quote

Centurion

Joined: 28 May 2012
Posts: 145
Location: PL

Hi,

I can see pretty strange configuration on one of our boxes.

Trigger monitor is running as mqm user however in the kdb I found label for xyz user only (ibmwebspheremqxyz). Trigger monitor is connected however to MQ server. SVRCONN channel has BlockIP2(BlockExit) which maps mqm and xyz users to floop user.

How is it possible that username mqm is allowed to use certificate labeled for xyz user???
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Nov 06, 2015 3:44 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

A local trigger monitor should use binding mode and does not go anywhere near a channel connection.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
kordi
PostPosted: Fri Nov 06, 2015 4:41 am    Post subject: Reply with quote

Centurion

Joined: 28 May 2012
Posts: 145
Location: PL

Yes, that's right, but this is mq client trigger monitor using CCDT to connect QMGR.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Nov 06, 2015 6:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Have you verified that the channel is actually requiring SSL mutual authentication ?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
kordi
PostPosted: Fri Nov 06, 2015 11:15 am    Post subject: Reply with quote

Centurion

Joined: 28 May 2012
Posts: 145
Location: PL

That's very good question

I will verify this on Monday.
Back to top
View user's profile Send private message
kordi
PostPosted: Tue Nov 10, 2015 6:02 am    Post subject: Reply with quote

Centurion

Joined: 28 May 2012
Posts: 145
Location: PL

It looks like SVRCONN channel requires mutual authentication:

Code:
SSLCAUTH(REQUIRED)


I know that security exit can map one user to another but only after client will connect MQ server. Till now I thought MQ client is looking for ibmwebsphere{userID} labeled certificate in key database to use for connection. If user is mqm, no other label will be used than ibmwebspheremq mqm. This is strange.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 20, 2015 6:10 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

kordi wrote:
Any idea how is it possible?

I believe that if using java the client will choose any suitable cert...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kordi
PostPosted: Fri Nov 20, 2015 8:15 am    Post subject: Reply with quote

Centurion

Joined: 28 May 2012
Posts: 145
Location: PL

yes, I think you are right accroding to what IBM claims here: http://www-01.ibm.com/support/docview.wss?uid=swg21245474

Quote:
In the MQ Java and MQ JMS client environment the label is not used to do the certificate look up. However, a personal certificate for the queue manager end still needs a label of 'ibmwebspheremq<qmgrname>'.


The thing is this is the case for trigger monitor, which runs as mqm user and kdb holds only once personal certificate: ibmwebspheremqxyz. SVRCONN channel requires mutual authentication and trigger monitor is connected to SVRCONN channel.
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 » General IBM MQ Support » label name and mq client user name are different but works
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.