can we get the lost pre-shared key ?

Reply
L3 Networker

can we get the lost pre-shared key ?

Hi ,

i have a palo alto firewall, i have been asked to put together the pre-shared keys for our VPN peers.i am not able to locate the key for some tunnels, is there any way i can recover the key from my config ?

Regards,

~Harry

L7 Applicator

Re: can we get the lost pre-shared key ?

Hello Harry,

Due to security reason, the pre-shared key will not be in plain text format in the FW configuration. Hence, you will not be able to recover the pre-shared key from existing configuration. Instead, you may configure a new pre-shared key on both VPN peers. ( Network > Network Profiles > Ike-Gateway > Pre-shared Key).

Example:

authentication {

        pre-shared-key {

          key -AQ==cojt0Pw//L6ToM8G41aOKFIWh7w=CVJ5/F84i6cL7ejjM15fRA==;  >>>>>>>>>>>>>>>>>>>>> encrypted format

Hope this helps.

Thanks

L6 Presenter

Re: can we get the lost pre-shared key ?

Hi Harshit,

That is correct, you can not recover pre-shared key. Firewall stores it in encrypted format. There is no way to decrypt it.

Best way is to create new preshared key on both the peers.

Regards,

Hardik Shah

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!