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 » Enabling SSL channel security on a Application

Post new topic  Reply to topic Goto page Previous  1, 2, 3
 Enabling SSL channel security on a Application « View previous topic :: View next topic » 
Author Message
exerk
PostPosted: Tue Oct 14, 2014 11:05 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Code:
SET CHLAUTH('SSL.CLIENTS') TYPE(USERMAP) CLNTUSER('devYY') ADDRESS('172.yy.yy.yyy')  MCAUSER('mqm')

I thought that all mqm-group users were automatically blocked, or yet again have I misread/misunderstood CHLAUTH?
_________________
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
hughson
PostPosted: Tue Oct 14, 2014 11:42 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1959
Location: Bay of Plenty, New Zealand

yasaboy wrote:
What I did for the error 2035 was

Code:
SET CHLAUTH('SSL.CLIENTS') TYPE(BLOCKUSER) USERLIST('TROBWUZHERE') ACTION(ADD)

and

 SET CHLAUTH('SSL.CLIENTS') TYPE(USERMAP) CLNTUSER('devYY') ADDRESS('172.yy.yy.yyy')  MCAUSER('mqm')

They are Exerk, but what yasaboy has done is over-ride than ban on mqm users for this specific channel using the first command, and then mapped the client side user ID to 'mqm' with the second command.

Read CHLAUTH - Allow some privileged admins for more details.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Wed Oct 15, 2014 4:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

And it looks like I'm getting some traction with my TRobWasHere meme.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Oct 15, 2014 5:41 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

hughson wrote:
yasaboy wrote:
What I did for the error 2035 was

Code:
SET CHLAUTH('SSL.CLIENTS') TYPE(BLOCKUSER) USERLIST('TROBWUZHERE') ACTION(ADD)

and

 SET CHLAUTH('SSL.CLIENTS') TYPE(USERMAP) CLNTUSER('devYY') ADDRESS('172.yy.yy.yyy')  MCAUSER('mqm')

They are Exerk, but what yasaboy has done is over-ride than ban on mqm users for this specific channel using the first command, and then mapped the client side user ID to 'mqm' with the second command.

Read CHLAUTH - Allow some privileged admins for more details.

Cheers
Morag

For shame, I did not make the connection between the first and second definitions

I still screw myself in circles when it comes to CHLAUTH - it's an (age) thing I think...
_________________
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
JosephGramig
PostPosted: Wed Oct 15, 2014 5:42 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

I still like USERLIST('NoBody') better because you are blocking nobody. Now we will be dealing with cleverness for 15 years or more...
Back to top
View user's profile Send private message AIM Address
mqjeff
PostPosted: Wed Oct 15, 2014 5:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

JosephGramig wrote:
I still like USERLIST('NoBody') better because you are blocking nobody. Now we will be dealing with cleverness for 15 years or more...


Whilst "NoBody" is distinct from 'nobody', there are a number of reasons why 'nobody' is a bad idea to use. In particular there can be a 'nobody' user on default unix distributions, or added by various software packages.

Or at least, there used to be.

And 'NoBody' is just one missing quote away from 'nobody'.

So using *something* that is clearly never going to be a real user is more helpful - "ThisUserDoesNotExist" for example.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 15, 2014 5:57 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
"ThisUserDoesNotExist" for example.


Or "TRobWasHere"
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Oct 15, 2014 5:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
"ThisUserDoesNotExist" for example.


Or "TRobWasHere"


DId you read the earlier part of this thread, that JosephGramig was complaining about?
Back to top
View user's profile Send private message
tczielke
PostPosted: Wed Oct 15, 2014 6:01 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

exerk wrote:
I still screw myself in circles when it comes to CHLAUTH - it's an (age) thing I think...


I struggle with CHLAUTH, as well. When I first read the manual on it, I walked away thinking there wasn't a way to set up a rule to allow a specific ip address, just block one. But I'm also sometimes challenged in getting the quotes on this web site to work correctly, as well.

One thing that I find confusing is the TYPE value seems "overloaded", to me. I wonder if it would be more clear if there was a separate:

ALLOWTYPE = BLOCKUSER, ALLOWUSER, BLOCKADDR, ALLOWADDR

and

MAPTYPE = SSLPEER, ADDRESS, USER, QMGR, NONE

I haven't went through all the permutations of the command to say that would cover things, but it feels like that would make the command more intuitive to use, to me.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 15, 2014 6:03 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
Vitor wrote:
mqjeff wrote:
"ThisUserDoesNotExist" for example.


Or "TRobWasHere"


DId you read the earlier part of this thread, that JosephGramig was complaining about?


No.

I just jumped in and tried to support you. Lots of Red Bull this morning.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3 Page 3 of 3

MQSeries.net Forum Index » IBM MQ Security » Enabling SSL channel security on a Application
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.