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 Discussion » not able to retrieve password from key.sth file

Post new topic  Reply to topic
 not able to retrieve password from key.sth file « View previous topic :: View next topic » 
Author Message
rajesh00001
PostPosted: Mon Aug 17, 2020 12:08 pm    Post subject: not able to retrieve password from key.sth file Reply with quote

Apprentice

Joined: 08 Sep 2009
Posts: 34

Hi All,

not able to retrieve password from key.sth file. below is the error from the command output

[mqm@host] /var/mqm/qmgrs/QM/ssl $ perl -C0 -n0xF5 -e 'print $_^"\xF5"x length."\n";exit' < key.sth
Warning: Use of "length" without parentheses is ambiguous at -e line 1.
p▒▒Ue▒▒ud ▒՝▒ٻ(y<▒ٕ▒G▒|▒U▒ʍ0FKN8▒▒ʖ▒[K▒K▒DSu▒▒▒▒▒▒▒▒gsA▒1X#9F.J▒佖▒▒▒wFw▒+!▒(R(▒▒▒R▒▒▒▒>▒U▒▒Y!tM 5▒▒▒▒:▒▒▒▒W▒▒.▒]▒
▒]▒i▒▒▒d▒U▒V▒▒
▒▒T|▒;L▒5 ▒p▒|A▒rY▒DI
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 17, 2020 3:03 pm    Post subject: Re: not able to retrieve password from key.sth file Reply with quote

Grand High Poobah

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

rajesh00001 wrote:
Hi All,

not able to retrieve password from key.sth file. below is the error from the command output

[mqm@host] /var/mqm/qmgrs/QM/ssl $ perl -C0 -n0xF5 -e 'print $_^"\xF5"x length."\n";exit' < key.sth
Warning: Use of "length" without parentheses is ambiguous at -e line 1.
p▒▒Ue▒▒ud ▒՝▒ٻ(y<▒ٕ▒G▒|▒U▒ʍ0FKN8▒▒ʖ▒[K▒K▒DSu▒▒▒▒▒▒▒▒gsA▒1X#9F.J▒佖▒▒▒wFw▒+!▒(R(▒▒▒R▒▒▒▒>▒U▒▒Y!tM 5▒▒▒▒:▒▒▒▒W▒▒.▒]▒
▒]▒i▒▒▒d▒U▒V▒▒
▒▒T|▒;L▒5 ▒p▒|A▒rY▒DI

Well there are 2 versions of the stash file depending on which version of MQ you are using. I believe the applied perl program only works with the earlier of them.

The question I have is why would you need to retrieve the password when you have the stash file?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » not able to retrieve password from key.sth file
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.