08-15-2014 12:59 AM - edited 07-05-2021 01:22 AM
Hi, anyone manage to configure on Cisco 3850 wireless wpa key using the ascii 8 encryption ? I'm able to configure using the >> security wpa akm psk set-key ascii 0 <pre-sharedkey>. But since it is not encrypted, i'm able to see the PSK string in plaintext if i show config.
I tried to use the ascii 8 <pre-sharedkey> but prompted for the below error after entering the command.
% switch-1:eicored:Invalid Encrypted Text : Decryption Failed
Solved! Go to Solution.
08-17-2014 08:45 PM
Hi
I am also not so sure how to get AES encrypted text to follow this ascii 8 <pre-sharedkey>.
But here is a workaround I am doing not to disclose PSK in plain text in switch configuration. Hope that may be useful to you as well.
You can enter your PSK in HEX format instead of plaintext. You can use this website to derive your PSK in hex format.
Here is an example (SSID: ABC-PSK, Presharedkey: Test12345). From the above link you can get the PSK in HEX format as shown below & configure it on your WLAN.
wlan ABC-PSK 17 ABC-PSK
client vlan 1410
no mfp client
no mfp client required
no security wpa akm dot1x
security wpa akm psk set-key hex 0 194d3ee23de5212c109a7139e6c398ecd0ce9a394f84c0c88fb3cfd389262ae2
no shutdown
HTH
Rasika
**** Pls rate all useful responses ****
08-17-2014 08:55 PM
Nice.. You can mark the thread as "answered" if you are satisfied with the resolution.
Rasika
08-17-2014 08:45 PM
Hi
I am also not so sure how to get AES encrypted text to follow this ascii 8 <pre-sharedkey>.
But here is a workaround I am doing not to disclose PSK in plain text in switch configuration. Hope that may be useful to you as well.
You can enter your PSK in HEX format instead of plaintext. You can use this website to derive your PSK in hex format.
Here is an example (SSID: ABC-PSK, Presharedkey: Test12345). From the above link you can get the PSK in HEX format as shown below & configure it on your WLAN.
wlan ABC-PSK 17 ABC-PSK
client vlan 1410
no mfp client
no mfp client required
no security wpa akm dot1x
security wpa akm psk set-key hex 0 194d3ee23de5212c109a7139e6c398ecd0ce9a394f84c0c88fb3cfd389262ae2
no shutdown
HTH
Rasika
**** Pls rate all useful responses ****
08-17-2014 08:52 PM
Great. That did the job. Thanks.
08-17-2014 08:55 PM
Nice.. You can mark the thread as "answered" if you are satisfied with the resolution.
Rasika
08-18-2014 03:01 PM
Hi
I checked this with Cisco & here is the resolution for this. You need to simply configure the below & then all your PSK shown in encrypted format.
3850(config)#passwd encryption on
HTH
Rasika
**** Pls rate all useful responses ****
07-23-2020 02:39 PM
Hi Rasika
That Command don't work in 16.9. version command is
password encryption aes but it didn't encrypted my psk key.
07-23-2020 03:10 PM
07-23-2020 03:19 PM
Thanks for reply but I want to encrypt my PSK Key so Please tell me how I can encrypt that key. It is still in plain text.
07-23-2020 04:18 PM
07-23-2020 07:41 PM
Hi Scott
Yes we have 9880 WLC wit 16.12.4 software version.
07-23-2020 08:08 PM
07-24-2020 05:59 AM
Hi Scott
Thanks for this post. What we want to do is want to encrypt WPA2 PSK Key under WLAN configuration. What you have given here is for VPN Preshared key.
07-24-2020 06:54 AM
07-24-2020 07:00 AM
Thanks Scott for this help.
07-24-2020 06:58 AM
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