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 » how to pass qmgr password of key database - mq v6.0

Post new topic  Reply to topic
 how to pass qmgr password of key database - mq v6.0 « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Fri Jul 07, 2006 8:28 am    Post subject: how to pass qmgr password of key database - mq v6.0 Reply with quote

Chevalier

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

I setup QM1 and QM2 to use the same self-signed certificate, in two key.kdb and stash the password to files in the same directories.

But when I try to start the channels, they stay in retrying status, and here's the error from event log. I realized at this point that there is no place to tell the qmgr of the password.

Any hint would be greatly appreciated.

----------------------------------------------------------------------------------
SSL key repository: password stash file absent or unusable.

The SSL key repository cannot be used because MQ cannot obtain a password to access it. Reasons giving rise to this error include: &B (a) the key database file and password stash file are not present in the location configured for the key repository, &B (b) the key database file exists in the correct place but that no password stash file has been created for it, &B (c) the files are present in the correct place but the userid under which MQ is running does not have permission to read them, &B (d) one or both of the files are corrupt. &P The channel is 'QM1.QM2'; in some cases its name cannot be determined and so is shown as '????'. The channel did not start.

Ensure that the key repository variable is set to where the key database file is. Ensure that a password stash file has been associated with the key database file in the same directory, and that the userid under which MQ is running has read access to both files. If both are already present and readable in the correct place, delete and recreate them. Restart the channel.
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Jul 07, 2006 8:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Long discussion about this here:
http://www.mqseries.net/phpBB2/viewtopic.php?t=25102&highlight=sth

read that topic (and the linked topic) and let us know how you make out.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
pcelari
PostPosted: Fri Jul 07, 2006 9:05 am    Post subject: Reply with quote

Chevalier

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

thanks for the link Wayne.

BTW, I also run the command below, thinking it might pass the password to qmgrs, but still get the same failure.

amqmcert -m QM1 -s d:\utils\mqssl\qm1\key.kdb -z mypwd

amqmcert -m QM2 -s d:\utils\mqssl\qm2\key.kdb -z mypwd
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Jul 07, 2006 9:27 am    Post subject: Re: how to pass qmgr password of key database - mq v6.0 Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

pcelari wrote:
Any hint would be greatly appreciated.

It's not tailored to your specific situation, but maybe this HOWTO might help: http://www.ibm.com/support/docview.wss?rs=171&uid=swg21233897
Back to top
View user's profile Send private message
pcelari
PostPosted: Mon Jul 10, 2006 11:30 am    Post subject: Re: how to pass qmgr password of key database - SOLVED! Reply with quote

Chevalier

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

Quote:
It's not tailored to your specific situation, but maybe this HOWTO might help: http://www.ibm.com/support/docview.wss?rs=171&uid=swg21233897


Many thanks for the link.

Following the article, I located the problem, a really trivial one - I typed in the path and while file name "key.kdb", in the QMGR SSLKEYR, where the extention ".kdb" should not present.

again, many thanks for the responses.
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
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 » how to pass qmgr password of key database - mq v6.0
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.