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 » Why MQClient app can't connect to QM with MQSERVER & SSL

Post new topic  Reply to topic
 Why MQClient app can't connect to QM with MQSERVER & SSL « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Wed Dec 14, 2022 8:07 am    Post subject: Why MQClient app can't connect to QM with MQSERVER & SSL Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Greetings...

I was my understanding to use SSL, a CCDT file together with SSLKEYR environment variable must be used by a client application like amqsputc. MQSERVER has to be unset for this to work.

Why is it not possible to use MQSERVER together with SSLKEYR for client application to connect to a qmgr?
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Dec 14, 2022 10:29 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
Location: US: west coast, almost. Otherwise, enroute.

https://www.ibm.com/docs/es/ibm-mq/8.0?topic=variables-mqserver
Says:
Quote:
You cannot use MQSERVER to define an SSL channel or a channel with channel exits. For details of how to define an SSL channel, see Protecting channels with SSL.https://www.ibm.com/docs/es/ibm-mq/8.0?topic=authorization-protecting-channels-ssltls

_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.


Last edited by bruce2359 on Wed Dec 14, 2022 11:02 am; edited 1 time in total
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 14, 2022 10:34 am    Post subject: Re: Why MQClient app can't connect to QM with MQSERVER & Reply with quote

Grand High Poobah

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

pcelari wrote:
Greetings...

I was my understanding to use SSL, a CCDT file together with SSLKEYR environment variable must be used by a client application like amqsputc. MQSERVER has to be unset for this to work.

Why is it not possible to use MQSERVER together with SSLKEYR for client application to connect to a qmgr?

Because when using MQSERVER you don't have a way to specify the Cipher to use on the channel. When using MQSERVER the cipher is set to ''.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pcelari
PostPosted: Thu Dec 15, 2022 6:23 am    Post subject: Re: Why MQClient app can't connect to QM with MQSERVER & Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

fjb_saper wrote:
pcelari wrote:

...
Why is it not possible to use MQSERVER together with SSLKEYR for client application to connect to a qmgr?

Because when using MQSERVER you don't have a way to specify the Cipher to use on the channel. When using MQSERVER the cipher is set to ''.


... thank you for clarifying!

Maybe it's time for IBM to add an environment variable MQSSLCIPH in a client environment so an application can connect to a qmgr with a mere MQSERVER set....
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Dec 15, 2022 9:29 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

https://community.ibm.com/community/user/integration/blogs/morag-hughson/2016/06/22/ibm-mq-little-gem-13-mqclientini
_________________
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
pcelari
PostPosted: Fri Dec 16, 2022 6:08 am    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

zpat wrote:
https://community.ibm.com/community/user/integration/blogs/morag-hughson/2016/06/22/ibm-mq-little-gem-13-mqclientini


thanks for sharing this article. It seems if MQSSLCIPH becomes an intrinsic part of MQ client application, apps like amqsputc will be able to connect to a qmgr through an SSL enabled SVRCONN channel, via MQSERVER. Then a CLINTCONN in the form of a CCDT file would no longer be necessary.
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 16, 2022 6:19 am    Post subject: Reply with quote

Grand High Poobah

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

pcelari wrote:
zpat wrote:
https://community.ibm.com/community/user/integration/blogs/morag-hughson/2016/06/22/ibm-mq-little-gem-13-mqclientini


thanks for sharing this article. It seems if MQSSLCIPH becomes an intrinsic part of MQ client application, apps like amqsputc will be able to connect to a qmgr through an SSL enabled SVRCONN channel, via MQSERVER. Then a CLINTCONN in the form of a CCDT file would no longer be necessary.


It seems by using the mqclient.ini you won't have to set MQSERVER or any of the other environment variables and can change the behavior just by changing the mqclient.ini ... (java /jms exceptions apply)
_________________
MQ & Broker admin
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 » Why MQClient app can't connect to QM with MQSERVER & SSL
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.