can we get the lost pre-shared key ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

can we get the lost pre-shared key ?

L3 Networker

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

2 REPLIES 2

L7 Applicator

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

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

  • 7133 Views
  • 2 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!