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 Installation/Configuration Support » connectivity problems: MQRC_Q_MGR_NAME_ERROR/MQRC_SSL_INITIA

Post new topic  Reply to topic
 connectivity problems: MQRC_Q_MGR_NAME_ERROR/MQRC_SSL_INITIA « View previous topic :: View next topic » 
Author Message
shelldweller
PostPosted: Wed Nov 11, 2009 3:45 pm    Post subject: connectivity problems: MQRC_Q_MGR_NAME_ERROR/MQRC_SSL_INITIA Reply with quote

Novice

Joined: 27 Aug 2009
Posts: 16

I built a simple tool to troubleshoot MQ client connectivity. It was happily connecting where it should but today (or horror!) it doesn't work any more. I rebuilt it, reinstalled client tools and reconfigured SSL but nothing seems to work.

Two questions:

1. Trying to connect to a queue manager with the following env vars:
Code:
MQCHLTAB=AMQCLCHL.TAB
MQCHLLIB=/var/mqm
MQSSLKEYR=/var/mqm/ssl/key

end get error MQRC_Q_MGR_NAME_ERROR 2058

It seems that during MQCONN the system cannot read settings from AMQCLCHL.TAB. Before this used to work fine. Is there something wrong with my env vars?



2. If I add MQSERVER valiable (by finding connection info form AMQCLCHL.TAB) my client tries to connect but exits with MQRC_SSL_INITIALIZATION_ERROR 2393

Looking at network data captured by wireshark I see there is an MQ packet with status data SSL_REMOTE_BAD_CIPHER. I double checked my personal certificate and even reinstalled it but I still get this error. The personal cert was issued by a CA and was imported as a PKCS12 file type. What could be causing this problem?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Nov 11, 2009 4:27 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

The amqscnxc sample program shipped with MQ does a fine job of testing client connectivity.

MQSERVER does not allow for SSL. Ever. At all.

If you got a 2058 on our MQCONN call when using channel tables you are specifying a QM name when your channel table entries all have blanks for the QM name parm on the CLNTCONN channels. Or you are specifying a QM name that does not match the QM to which you are getting connected to.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 11, 2009 5:30 pm    Post subject: Reply with quote

Grand High Poobah

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

PeterPotkay wrote:
The amqscnxc sample program shipped with MQ does a fine job of testing client connectivity.

MQSERVER does not allow for SSL. Ever. At all.

If you got a 2058 on our MQCONN call when using channel tables you are specifying a QM name when your channel table entries all have blanks for the QM name parm on the CLNTCONN channels. Or you are specifying a QM name that does not match the QM to which you are getting connected to.


Remember also the way to use a channel table is with
*dummy as qmgr in the connection parm for the channel having qmgr name dummy. If you omit the leading star the qmgr's name would have to be dummy.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
shelldweller
PostPosted: Thu Nov 12, 2009 7:36 am    Post subject: Reply with quote

Novice

Joined: 27 Aug 2009
Posts: 16

There was something about MQCHLTAB and MQCHLLIB variables that MQ client didn't like. They were pointing to the default location channel definition file location:

Code:
MQCHLTAB=AMQCLCHL.TAB
MQCHLLIB=/var/mqm


When I unset them the client gets through and seems to be able to read /var/mqm/AMQCLCHL.TAB

I now get a repository key error instead but that's a different story.
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 » IBM MQ Installation/Configuration Support » connectivity problems: MQRC_Q_MGR_NAME_ERROR/MQRC_SSL_INITIA
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.