Description | This article describes an understanding of IPsec pre-shared key error 'New psksecret must conform to the password policy enforced on this device'. |
Scope | FortiGate. |
Solution |
While configuring the IPsec pre-shared key from the CLI, if gets an error 'New psksecret must conform to the password policy enforced on this device'.
This error is due to the password policy configured for IPsec under GUI System -> Settings -> Password Policy. Make sure the preshared key meets password policy criteria.
See more information about Password Policy configuration in the following documentation: Password policy. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.