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 » amqscnxc failed with 2393 with SSL on

Post new topic  Reply to topic
 amqscnxc failed with 2393 with SSL on « View previous topic :: View next topic » 
Author Message
DTran
PostPosted: Tue Jun 21, 2011 1:52 am    Post subject: amqscnxc failed with 2393 with SSL on Reply with quote

Acolyte

Joined: 11 May 2006
Posts: 62
Location: Amsterdam

Dear all,

I did a search on this topic but still find no answer to my problem. Pls shed some light into this problem.

This is the situation:
I have create the SVRCONN and ClientConn on the server. Copied the .TAB file over to my desktop.

The settings:
MQ Client version 7
MQ Server version 5.3
MQCHLLIB=C:\MQCLIENT
MQCHLTAB=AMQCLCHL.TAB
MQSSLKEYR=C:\MQCLIENT\key

MO71 works fine with SSL is on; and also the amqsputc

Client:
C:\MQCLIENT>amqsputc TEST.LQ QMGR
Sample AMQSPUT0 start
target queue is TEST.LQ

Server:
dis chs(CLNT_SSL)
1 : dis chs(CLNT_SSL)
AMQ8417: Display Channel Status details.
CHANNEL(CLNT_SSL) XMITQ( )
CONNAME(11.22.22.222) CURRENT
CHLTYPE(SVRCONN) STATUS(RUNNING)
RQMNAME(QMGR)

But when I tried to test with
amqscnxc -x hostname(portNo) -c CLNT_SSL QMGR

I got on the Client side
AMQ9641: Remote CipherSpec error for channel 'CLNT_SSL'.

C:\MQCLIENT>mqsc -n -p cols=2
>dis chl(CLNT_SSL)
AMQ8414: Display Channel details.
CHANNEL(CLNT_SSL) CHLTYPE(CLNTCONN)
TRPTYPE(TCP) CONNAME(hostname(portNo))
QMNAME(QMGR) LOCLADDR( )
SSLCIPH(TRIPLE_DES_SHA_US) SSLPEER( )

Is there differences between the amqscnxc and the amqsputc? And how can i get the amqscnxc working?



Tx in advance
_________________
There are 10 types of people in this world - those who understand binary and those who don't
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
mqjeff
PostPosted: Tue Jun 21, 2011 2:00 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You're providing different connection information to amqsputc and amqscnxc.

You are telling amqsputc to "Go to the client channel table and find qmgr QMGR to get the full connection infomration".

You are telling amqscnxc to "Connect to the qmgr at this conname and channel.".

You need to tell amqscnxc to do the same thing you told amqsputc to do.
Code:
amqscnxc QMGR
.
Back to top
View user's profile Send private message
DTran
PostPosted: Tue Jun 21, 2011 3:27 am    Post subject: Reply with quote

Acolyte

Joined: 11 May 2006
Posts: 62
Location: Amsterdam

Tx for your reply Jeff,

I also did what you asked, but the amqscnxc uses the SYSTEM.DEF.SVRCONN instead of the CLNT_SSL, and ofcourse the default SvrConn channel has a different CipherSpec.

C:\MQCLIENT>amqscnxc QMGR
Sample AMQSCNXC start
Connecting to queue manager QMGR
with no client connection information specified.
Connection established to queue manager QMGR

Sample AMQSCNXC end

LOG:
----- cmqxrfpt.c : 457 --------------------------------------------------------
21-6-2011 11:48:29 - Process(5652.1) User(xxx) Program(amqscnxc.exe)
Host(xxxx)
AMQ9641: Remote CipherSpec error for channel 'SYSTEM.DEF.SVRCONN'.
_________________
There are 10 types of people in this world - those who understand binary and those who don't
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
mqjeff
PostPosted: Tue Jun 21, 2011 3:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Then you are not telling it to use the CCDT properly.
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 » amqscnxc failed with 2393 with SSL on
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.