09-02-2015 10:39 PM - edited 03-05-2019 02:13 AM
Hi Team,
I Was trying to give the following command to router and it showing the following error.
R4(config)#enable secret level 15 5 340ebe883cb3a6ddca0bcd0fbafe5ae4
ERROR: The secret you entered is not a valid encrypted secret.
To enter an UNENCRYPTED secret, do not specify type 5 encryption.
When you properly enter an UNENCRYPTED secret, it will be encrypted.
How i can give the encrypted secret of "preeth"?
Is there any tools available? or any sites can help me on this?
09-02-2015 11:06 PM
hi,
enable secret uses MD5 which hard to decrypt.
could you try?
R4(config)#enable secret level 15 preeth
09-02-2015 11:32 PM
As John said, you always can use the plain password for the command. If you want to calculate the "encrypted" secret, you can do that with openssl:
kiMaMi:~ karsten$ openssl passwd -salt `openssl rand -base64 3` -1 preeth $1$nPxi$RD.vbmWc/Vptkq/wmqpsF.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide