Description
The article describes how to configure the password policy for locally defined administrator passwords and IPsec VPN pre-shared keys.
Scope
FortiGate.
Solution
Configuration from GUI:
To create a system password policy from the GUI:
config system password-policy
set login-lockout-upon-downgrade { enable | disable }
end
When enabling login-lockout-upon-downgrade, a warning message will appear. To apply the configuration, an administrator must confirm the setting manually.
Verification of Configuration and troubleshooting:
If Password Scope is Admin:
FGT1 # show system password-policy
# config system password-policy
set status enable
end
If Password Scope is IPsec:
FGT1 # show system password-policy
# config system password-policy
set status enable
set apply-to ipsec-preshared-key
end
If Password Scope is Both Admin and IPsec:
FGT1 # show system password-policy
# config system password-policy
set status enable
set apply-to admin-password ipsec-preshared-key
end
Related article:
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.