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 » ssl keydabase passwd recovery

Post new topic  Reply to topic
 ssl keydabase passwd recovery « View previous topic :: View next topic » 
Author Message
haribabu
PostPosted: Mon Aug 31, 2015 9:21 am    Post subject: ssl keydabase passwd recovery Reply with quote

Newbie

Joined: 30 Aug 2015
Posts: 2

I created the ssl key database and setting the password . But password forgot how can recover the keydatabase password plz help them

Last edited by haribabu on Mon Aug 31, 2015 9:27 am; edited 1 time in total
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 31, 2015 9:23 am    Post subject: Re: ssl keydabase recovery Reply with quote

Grand High Poobah

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

haribabu wrote:
I created the ssl key database and setting the password . But password forgot how can recover the keydatabase password


Use V8 binaries, use the -stashed option, and export to a new db.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Aug 31, 2015 9:28 am    Post subject: Re: ssl keydabase recovery Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
haribabu wrote:
I created the ssl key database and setting the password . But password forgot how can recover the keydatabase password


Use V8 binaries, use the -stashed option, and export to a new db.


Well, hopefully the password was stashed in the first place.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
tczielke
PostPosted: Mon Aug 31, 2015 1:11 pm    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
Location: Illinois, USA

Someone previously shared this perl script that works for me:

Code:

# perl script to find password in key.sth file
# usage:
# perl unstash.pl key.sth
use strict;

die "Usage: $0 <stash file>\n" if $#ARGV != 0;

my $file=$ARGV[0];
open(F,$file) || die "Can't open $file: $!";

my $stash;
read F,$stash,1024;

my @unstash=map { $_^0xf5 } unpack("C*",$stash);

foreach my $c (@unstash) {
    last if $c eq 0;
    printf "%c",$c;
}
printf "\n";

_________________
Working with MQ since 2010.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Sep 01, 2015 4:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Again this assumes that the password was actually stashed.

Which, I admit, it should have been.
_________________
chmod -R ugo-wx /
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 » ssl keydabase passwd recovery
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.