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 » MQ SSL one way configuration error

Post new topic  Reply to topic
 MQ SSL one way configuration error « View previous topic :: View next topic » 
Author Message
sudhir
PostPosted: Tue Jun 05, 2012 5:58 am    Post subject: MQ SSL one way configuration error Reply with quote

Novice

Joined: 17 Dec 2002
Posts: 20
Location: Pune, India

Hi Team,

While configuring MQ one way SSL ( Client - > Server) , I am facing following error

----- amqccita.c : 611 --------------------------------------------------------
06/05/12 12:54:29 - Process(14549178.1) User(esbadmin) Program(amqsputc_nd)
Host(HEIMBRKD01)
AMQ9657: The key repository could not be opened (channel 'SSL.CLIENTS').

EXPLANATION:
The key repository could not be opened. The key repository either does not
exist or has incorrect permissions associated with it. The channel is
'SSL.CLIENTS'; in some cases its name cannot be determined and so is shown as
'????'. The channel did not start.
ACTION:
Ensure that the key repository you specify exists and that its permissions are
such that the MQ process involved can read from it. Restart the channel.
----- amqccisa.c : 4007 -------------------------------------------------------

channel properties are as follows
dis chl(SSL.CLIENTS)
2 : dis chl(SSL.CLIENTS)
AMQ8414: Display Channel details.
CHANNEL(SSL.CLIENTS) CHLTYPE(SVRCONN)
ALTDATE(2012-06-04) ALTTIME(19.01.15)
COMPHDR(NONE) COMPMSG(NONE)
DESCR( ) HBINT(300)
KAINT(AUTO) MAXINST(999999999)
MAXINSTC(999999999) MAXMSGL(4194304)
MCAUSER( ) MONCHL(QMGR)
RCVDATA( ) RCVEXIT( )
SCYDATA( ) SCYEXIT( )
SENDDATA( ) SENDEXIT( )
SHARECNV(10) SSLCAUTH(OPTIONAL)
SSLCIPH(TRIPLE_DES_SHA_US) SSLPEER( )
TRPTYPE(TCP)
AMQ8414: Display Channel details.
CHANNEL(SSL.CLIENTS) CHLTYPE(CLNTCONN)
AFFINITY(PREFERRED) ALTDATE(2012-06-04)
ALTTIME(19.01.51) CLNTWGHT(0)
COMPHDR(NONE) COMPMSG(NONE)
CONNAME(10.87.188.156(33333)) DESCR( )
HBINT(300) KAINT(AUTO)
LOCLADDR( ) MAXMSGL(4194304)
MODENAME( ) PASSWORD( )
QMNAME( ) RCVDATA( )
RCVEXIT( ) SCYDATA( )
SCYEXIT( ) SENDDATA( )
SENDEXIT( ) SHARECNV(10)
SSLCIPH(TRIPLE_DES_SHA_US) SSLPEER( )
TPNAME( ) TRPTYPE(TCP)
USERID( )

Following steps have followed for SSL configuration
On MQ server
1. gsk7cmd -keydb -create -db key.db -pw password -type cms -expire 360 -stash
2. gsk7cmd -cert -create -db key.db -pw password -label ibmwebspheremqtestqm
-dn "CN=EAI, O=IBM, OU=Test, C=IN" -size 2048 -x509version version -expire 360
3. gsk7cmd -cert -extract -db key.db -pw password -label ibmwebspheremqtestqm -target ssl.arm
-format ascii

copied ssl.arm to client location
On Client Server
1. gsk7cmd -keydb -create -db key.db -pw password -type cms -expire 360 -stash
2. gsk7cmd -cert -add -db key.db -pw password -label sslqm -file ssl.arm -format ascii

Following Env. variables are set
MQCHLLIB
MQCHLTAB
MQSSLKEYR ( without .db extn)

Also I have given full permission to certificate files (777) still I am facing this error .
Could you please let us know where things go wrong

Regards
Sudhir
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Tue Jun 05, 2012 7:56 am    Post subject: Reply with quote

Grand High Poobah

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

What are the permissions to the key repository the qmgr uses?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sudhir
PostPosted: Tue Jun 05, 2012 8:50 am    Post subject: Reply with quote

Novice

Joined: 17 Dec 2002
Posts: 20
Location: Pune, India

Hi

I have given full read/write permission to key repository of qmgr
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Tue Jun 05, 2012 9:10 am    Post subject: Reply with quote

Grand High Poobah

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

sudhir wrote:
I have given full read/write permission to key repository of qmgr


Do you mean that? Or do you mean:

sudhir wrote:
Also I have given full permission to certificate files (777)


Because these are not the same thing.
_________________
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 Page 1 of 1

MQSeries.net Forum Index » IBM MQ Security » MQ SSL one way configuration error
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.