|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ssl keydabase passwd recovery |
« View previous topic :: View next topic » |
Author |
Message
|
haribabu |
Posted: Mon Aug 31, 2015 9:21 am Post subject: ssl keydabase passwd recovery |
|
|
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 |
|
 |
fjb_saper |
Posted: Mon Aug 31, 2015 9:23 am Post subject: Re: ssl keydabase recovery |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
mqjeff |
Posted: Mon Aug 31, 2015 9:28 am Post subject: Re: ssl keydabase recovery |
|
|
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 |
|
 |
tczielke |
Posted: Mon Aug 31, 2015 1:11 pm Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 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 |
|
 |
mqjeff |
Posted: Tue Sep 01, 2015 4:56 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|