Description |
This article describes how to restore the FortiGate configuration and IPsec VPN missing with the error: 'vpn.ipsec.phase1-interface'.Test-IPSec-VPN:failed command' |
Scope | FortiGate version 6.4, 7.0, and 7.2 above. |
Solution |
When restoring the FortiGate configuration and found in the config error log as below:
KVM # diagnose debug config-error-log read >>> "next" @ 4162:vpn.ipsec.phase1-interface.Test-IPSec-VPN:failed command (error 1)
This is due to the password policy being enabled for IPsec VPN pre-shared key as below:
# config system password-policy
Remove this password policy in the configuration file and restore back the configuration file to the FortiGate.
After the restore, it will be possible to retrieve the IPsec configuration as expected.
If it is needed to apply the 'password policy' again, it can be configured through GUI as shown below :
|
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 2024 Fortinet, Inc. All Rights Reserved.