Skip to main content
Esteemed Contributor III
Mar 29, 2006 5:48 PM UTC
Question

How to view the unencrypted PSK of a VPN

Hi all, we have an IPsec VPN to a client network and have forgotten (not documented yet) the PSK of the Phase 1 of VPN. How can I get the unencrypted value of PSK?

    4 replies

    abelio
    SuperUser
    SuperUser
    Mar 29, 2006 7:23 PM UTC
    unless you' ve a sniffer in the wire to catch poor or very short PSK and try to desencrypt it and you' ve a lot of free time, you can' t
    abelio
    SuperUser
    SuperUser
    Mar 29, 2006 7:28 PM UTC
    sorry, you don' t need a sniffer if you' ve admin passwd in FTG-box CLI command " show vpn ipsec phase1 <your_tunnel_number> " shows to you pksecret in encrypted form but, if you' ve Fortinet admin pass and Forticlient access, all this remains an academic exercise change your PSK
    Esteemed Contributor III
    Mar 30, 2006 6:24 PM UTC
    I know I can change the PSK. But in the other side our client is running FreeSwan and I cant' t manage it. I didn' t want to say it we have lost the PSK.
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024