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 » SSL with Jboss and MQ

Post new topic  Reply to topic
 SSL with Jboss and MQ « View previous topic :: View next topic » 
Author Message
rmah
PostPosted: Wed May 21, 2008 9:26 am    Post subject: SSL with Jboss and MQ Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

Hi all,

I'm getting this error when trying to configure Jboss to connect to MQ:

Remote channel 'BONES.SSL.SVRCONN' did not specify a CipherSpec when the local
channel expected one to be specified. The channel did not start.
ACTION:
Change the remote channel 'BONES.SSL.SVRCONN' to specify a CipherSpec so that
both ends of the channel have matching CipherSpecs.


The server-connection channel on the queue manager, BONES.SSL.SVRCONN, is SSL enabled. I have also setup a client-connection channel, BONES.SSL.CLNTCONN, with SSL enabled. Both channels specify the NULL_SHA CipherSpec.

What is this 'remote channel' the error message talks about? Is it specified somewhere in the Jboss config files?

This is on a Linux system, and the environment variables MQCHLTAB, MQCHLLIB, and MQSSLKEYR have been sourced for the 'jboss' user, the user Jboss runs as.
Thanks!
_________________
MQ 6.0.2.3
Broker 6.0.0.7
for Linux
Back to top
View user's profile Send private message
David.Partridge
PostPosted: Wed May 21, 2008 11:23 pm    Post subject: Reply with quote

Master

Joined: 28 Jun 2001
Posts: 249

At least one issue here, the clntconn and svrconn channels must have the same name.

Can't comment on why you're getting that exact message - have you by any horrid chance enable channel auto definition on the QMGR? Don't do that - its a vast security hole waiting to happen.
_________________
Cheers,
David C. Partridge
Back to top
View user's profile Send private message
rmah
PostPosted: Thu May 22, 2008 9:16 am    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

David.Partridge wrote:
At least one issue here, the clntconn and svrconn channels must have the same name.

Can't comment on why you're getting that exact message - have you by any horrid chance enable channel auto definition on the QMGR? Don't do that - its a vast security hole waiting to happen.


Should the connection name for the client connection be the hostname and port of the queue manager or the host name and port of the application Jboss?

thanks!
_________________
MQ 6.0.2.3
Broker 6.0.0.7
for Linux
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 22, 2008 6:16 pm    Post subject: Reply with quote

Grand High Poobah

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

rmah wrote:
David.Partridge wrote:
At least one issue here, the clntconn and svrconn channels must have the same name.

Can't comment on why you're getting that exact message - have you by any horrid chance enable channel auto definition on the QMGR? Don't do that - its a vast security hole waiting to happen.


Should the connection name for the client connection be the hostname and port of the queue manager or the host name and port of the application Jboss?

thanks!


As specified by David the clntconn and svrconn channels need to be paired.
This pairing is done on the channel name. So clntconn and svrconn need to have the same channel name (case matters).

The clntconn needs to point to the server so the conname of the clntconn should be ('MQ server host(MQ server port)')

Enjoy
_________________
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 » General IBM MQ Support » SSL with Jboss and MQ
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.