Skip to content
Melbit Services
  • IT Services
    • Managed IT Services
    • Cloud Services
    • IT Consulting Services
    • Business Communication
    • Remote IT Support
    • Domain Names
  • Industries
    • Accounting Firms
    • Law Firms
    • Realestate
    • Medical Centres
    • Pharmacies
    • Conveyancing Firms
  • Cybersecurity
    • Cybersecurity Assessment
    • The Essential Eight
    • Cybersecurity Playbooks
    • Computer Security Threats
  • Remote IT Support
    • TeamViewer Windows
    • TeamViewer Mac
    • TeamViewer Linux
Get in Touch

Windows

23
  • Understanding MFA
  • How to change file creation or modified date
  • How to check if Microsoft Defender for Endpoint is running
  • Access to Removable Drives not Protected by BitLocker
  • The Group Policy settings for BitLocker startup options are in conflict and cannot be applied
  • How do you extend a User Profile Disk
  • Resizing User Virtual Disk RDP (Esxi VM)
  • Command and PowerShell History
  • How to increase the disk size of VM in VirtualBox
  • Saved Windows Credentials
  • View installed software using wmic
  • Pros and cons working with DNS, DHCP, IPAM, Wireless, LAN, WAN
  • What is a DHCP Server and DHCP relays
  • How to find user profile disk from registry
  • Enabling iPhone hotspot
  • Download Maps Manager Delayed Start Red in Server 2016
  • What is SSTP VPN?
  • How to Disable Revocation Check for SSTP VPN
  • Enabling Group Policy editor on Windows 10 Home
  • Source file names are larger than supported file system
  • Essential Network Ports for Windows Services
  • Another account from your organisation is already signed in
  • Disabling Office 365 Autodiscover – Exchange Self hosted
Linux

Linux

5
  • mysql-8.0-gpg package error
  • Windows Privilege Escalation
  • Linux Exim Cheat sheet
  • Rsync linux
  • CSF Shell Command

Networking

5
  • Windows Privilege Escalation
  • Cannot access FortiGate web GUI admin interface
  • How to find Fortinet PSK
  • Pros and cons working with DNS, DHCP, IPAM, Wireless, LAN, WAN
  • Disabling SIP ALG on FortiGate Firewall

General IT Support

15
  • How to improve the WIFI coverage in the office
  • Best Practices for Data Backup and Recovery
  • How to change file creation or modified date
  • Command and PowerShell History
  • How to increase the disk size of VM in VirtualBox
  • Saved Windows Credentials
  • View installed software using wmic
  • Cannot access FortiGate web GUI admin interface
  • How to find Fortinet PSK
  • Pros and cons working with DNS, DHCP, IPAM, Wireless, LAN, WAN
  • What is a DHCP Server and DHCP relays
  • How to find user profile disk from registry
  • Enabling iPhone hotspot
  • Disabling SIP ALG on FortiGate Firewall
  • Download Maps Manager Delayed Start Red in Server 2016

Network Connectivity

4
  • How to improve the WIFI coverage in the office
  • Enabling iPhone hotspot
  • Disabling SIP ALG on FortiGate Firewall
  • What is SSTP VPN?

Cyber Security & Compliance

4
  • How to check if Microsoft Defender for Endpoint is running
  • Access to Removable Drives not Protected by BitLocker
  • The Group Policy settings for BitLocker startup options are in conflict and cannot be applied
  • Windows Privilege Escalation

Remote IT Support & Helpdesk

6
  • mysql-8.0-gpg package error
  • Access to Removable Drives not Protected by BitLocker
  • The Group Policy settings for BitLocker startup options are in conflict and cannot be applied
  • How do you extend a User Profile Disk
  • Resizing User Virtual Disk RDP (Esxi VM)
  • Atera client not showing up in Customer’s dashboard
View Categories
  • Home
  • KB
  • General IT Support
  • How to find Fortinet PSK

How to find Fortinet PSK

2 min read

In Fortinet devices, pre-shared keys (PSKs) are stored in an encrypted format for security reasons and cannot be viewed in plain text directly through the GUI or CLI. If you’ve forgotten a PSK, consider the following approaches:

  1. Retrieve from Backup Configuration: If you have a backup of your Fortinet device’s configuration, the PSK may be included in the backup file. However, be aware that the PSK will still be in its encrypted form.
  2. Attempt Decryption: While Fortinet does not provide an official method to decrypt PSKs, some users have discussed the possibility of decryption. Note that attempting to decrypt PSKs may violate Fortinet’s terms of service and could compromise the security of your system. Proceed with caution and at your own risk. This articles does now show you how to decrypt the PSK, instead the step by step below if how you can reset it.

To find the Pre-Shared Key (PSK) for a Fortinet device (FortiGate firewall or VPN), follow these steps:

For an Existing VPN Configuration: #

  1. Log into FortiGate:
    • Use the web-based management interface or SSH into the FortiGate device.
  2. Navigate to the VPN Settings:
    • From the web interface, go to VPN > IPsec Tunnels (or VPN > IPsec).
    • In the command-line interface (CLI), use:
      config vpn ipsec phase1-interface
  3. Locate the Tunnel:
    • Find the VPN tunnel for which you want to find the PSK.
  4. View or Retrieve the PSK:
    • If you’re in the web interface, the PSK may be hidden (in “****” format), but you can reset it by editing the tunnel and entering a new one.
    • Using the CLI, you can view the PSK by running:show full-configuration | grep -A 5 -B 5 "set psksecret"
      This command will display the PSK for the VPN tunnel.
  5. Note:
    • For security reasons, the PSK is typically not visible in the web interface once it is set. You’ll need to reset it if you can’t retrieve it from the CLI.

Make sure to have proper permissions to view and modify VPN configurations on your FortiGate device.

Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Cannot access FortiGate web GUI admin interfacePros and cons working with DNS, DHCP, IPAM, Wireless, LAN, WAN
Table of Contents
  • For an Existing VPN Configuration:
Melbourne business IT logo

Melbits is Melbourne Business IT Service and technology solutions provider. Our tailored and strategic approach ensures that your business will receive expert IT support, cybersecurity and consulting that aligns with your business needs, empowering your business, driving growth and success.

You can reach us at 03 9069 6788

IT Services

  • Managed IT Services
  • Cloud Services
  • Cybersecurity
  • Remote IT Services
  • Business Communication
  • IT Consulting

Industries

  • Accounting Firms
  • Law Firms
  • Realestate
  • Medical Centres
  • Pharmacies
  • Conveyancing Firms

Additional Links

  • About Us
  • Knowledge Base
  • FAQ
  • Contact

© 2025 Melbit Services, All Rights Reserved.

  • Terms and Conditions
  • Privacy Policy