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 » forgot key.kdb password. how to change now

Post new topic  Reply to topic
 forgot key.kdb password. how to change now « View previous topic :: View next topic » 
Author Message
itsme_001
PostPosted: Fri Jul 23, 2021 7:23 am    Post subject: forgot key.kdb password. how to change now Reply with quote

Disciple

Joined: 02 Feb 2009
Posts: 157

the password for the key.kdb file is missing .. i mean forgot
How can i change it to a new password without knowing the existing one.
Have previously done that a long time back.. could not recollect the command.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 23, 2021 10:35 am    Post subject: Re: forgot key.kdb password. how to change now Reply with quote

Grand High Poobah

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

itsme_001 wrote:
the password for the key.kdb file is missing .. i mean forgot
How can i change it to a new password without knowing the existing one.
Have previously done that a long time back.. could not recollect the command.

Code:
runmqakm -keydb -changepw -db xyz.kdb -new_pw mynewpw -stash -stashed

No warranty. Better test first on a copy...
Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Sat Jul 24, 2021 7:56 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2492
Location: Melbourne, Australia

If you have lost the password or the stash file for a CMS KDB, there is no recourse. You will have to created a new KDB from scratch with a new password and add all the certs.

We had to do that once Just once!
_________________
Glenn
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jul 24, 2021 11:44 pm    Post subject: Reply with quote

Grand High Poobah

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

gbaddeley wrote:
If you have lost the password or the stash file for a CMS KDB, there is no recourse. You will have to created a new KDB from scratch with a new password and add all the certs.

We had to do that once Just once!

You mean to say: have lost the password AND the stash file. If you have either one of those it is easy to either create the stash file or change the stash file and password when just having the stash file...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
itsme_001
PostPosted: Tue Jul 27, 2021 3:09 am    Post subject: Re: forgot key.kdb password. how to change now Reply with quote

Disciple

Joined: 02 Feb 2009
Posts: 157

fjb_saper wrote:
itsme_001 wrote:
the password for the key.kdb file is missing .. i mean forgot
How can i change it to a new password without knowing the existing one.
Have previously done that a long time back.. could not recollect the command.

Code:
runmqakm -keydb -changepw -db xyz.kdb -new_pw mynewpw -stash -stashed

No warranty. Better test first on a copy...
Enjoy


Thank you. It worked... forgot a syntax in it.

how do I run the same for a .jks cert file?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jul 27, 2021 4:49 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Moved to Security forum.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 27, 2021 9:15 am    Post subject: Re: forgot key.kdb password. how to change now Reply with quote

Grand High Poobah

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

itsme_001 wrote:
fjb_saper wrote:

Code:
runmqakm -keydb -changepw -db xyz.kdb -new_pw mynewpw -stash -stashed

No warranty. Better test first on a copy...
Enjoy


Thank you. It worked... forgot a syntax in it.

how do I run the same for a .jks cert file?

For a jks file have you tried using runmqckm ?
_________________
MQ & Broker admin


Last edited by fjb_saper on Fri Jul 30, 2021 12:11 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
hughson
PostPosted: Wed Jul 28, 2021 1:20 am    Post subject: Re: forgot key.kdb password. how to change now Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

itsme_001 wrote:
how do I run the same for a .jks cert file?


Do you have a stash file for the JKS? I didn't think that format had stash files?

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Security » forgot key.kdb password. how to change now
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.