03-29-2024 05:45 AM
hi,
the mgmtuser username password defined in my AP join policy show in clear text and cannot be encrypted.
when i exe the command,
mgmtuser username admin password 8 mypass123 secret 8 mysecret123
always get error %password encryption failed: possible mismatch of password type & secret type!
i really pulling my hair out clueless.
C9800 controller running 17.9.4a.
anyone?
03-29-2024 05:52 AM
check below thread may help you :
03-29-2024 06:37 AM - edited 03-29-2024 06:46 AM
i already went thru that post before i post here to ask.
i am not restoring from old config.
i already have password encryption aes enabled w the master key configured.
03-29-2024 06:12 AM
- Run error through Cisco's bug search tool (use google to find). Select correct platform too.
A trick I often use ; use google advanced search. Paste error in second input field. On the primary field type "solved" "cisco" or less , depending on the number of results ,
M.
03-29-2024 06:23 AM
You are using the wrong syntax to activate the encryption. The command you used needs the AES encrypted password, not the plaintext one. If the passwords show in clear, you have not yet enabled password-encryption:
password encryption aes
key config-key password-encrypt THIS-IS-YOUR-COMPLEX-ENCRYPT-PASSWORD
After you configure this, the passwords are not visible any more in clear.
03-29-2024 06:41 AM - edited 03-29-2024 07:03 AM
not working.
i already have the below 2 commands configured.
password encryption aes
key config-key password-encrypt THIS-IS-YOUR-COMPLEX-ENCRYPT-PASSWORD
i then run the below command also not working
mgmtuser username admin password 0 mypass123 secret 0 mysecret123
do i need to write mem before the encryption take effect?
03-29-2024 07:20 AM - edited 03-29-2024 09:57 AM
- Possible configuration conflicts may lead to this , check with the CLI command show tech wireless and feed the output to : Wireless Config Analyzer
M.
03-29-2024 09:56 AM - edited 03-29-2024 10:15 AM
>...do i need to write mem before the encryption take effect?
Could be because the master key is saved separately in a secure part of NVRAM and not backed up.
M.
03-29-2024 10:30 AM
What happens when you set the user account with type 0?
03-29-2024 11:17 AM
the key is show in clear text in config as below -
mgmtuser username admin password 0 mypass123 secret 0 mysecret123
03-30-2024 04:22 AM
I would open a TAC case. Although it is a suggested release, there still could be something going wrong. The shown way is how it works for me. I don’t even have to reenter the mgmtuser, the actual passwords get directly encrypted.
03-29-2024 08:38 PM
Question -
can (should) the password of mgmtuser username command be encryption using Type 6??
how come i run the ? of the command it show 0 and 8??
03-30-2024 01:05 AM
It is Type 8 for the mgmtuser. But this is a different type 8 compared to the regular user accounts.
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