cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5984
Views
10
Helpful
2
Replies

ERROR: The secret you entered is not a valid encrypted secret.

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?

2 Replies 2

johnlloyd_13
Level 9
Level 9

hi,

enable secret uses MD5 which hard to decrypt.

could you try?

R4(config)#enable secret level 15 preeth

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.