Troubleshooting Tip: REST API login failed with error 60
| Description | This article describes how to resolve the 'API error 60' message, which prevents pushing configuration from FortiGate to a managed FortiSwitch. |
| Scope | FortiGate v7.x and managed FortiSwitch v7.x. |
| Solution | After importing a local certificate on the FortiSwitch, the following sync error may appear on the FortiGate: execute switch-controller get-sync-status all Due to the error, the config does not get pushed from FortiGate to the managed FortiSwitch.
Follow these steps to rectify the error:
FortiGate-60F # execute vpn certificate ca import tftp /temp/zzzz/zzzzrootCA.crt <tftp ip address>
show switch-controller system
execute system certificate local import tftp <file-name> <tftp_ip>
For example:
execute system certificate local import tftp temp/xxxx/xxxx074.p12 10.105.129.1 p12 fortinet123
Show the certificate: show system certificate local edit "xxxx074" set password ENC wuPp7AGYkncE2QblJ6pjdyed1MfVG+dVhJ6sy9aDP+B5 0ykGwPsa5R7DcKrd6 b2SfhidSZg1vN9NLlssOHthDyCWAfzpx6MNRo9j8ojJY0FsU1kTk/r/71KGva5RldCZODJBII5FtN5pvJhj8znzythf8XX8O/UwWzbGEDJ+H4uOUnfE next end set https-server-cert "xxxx074" end
The changes to tunnel mode strict is by design, and there is no plan to change it. The description of the tunnel mode is as follows:
To use tunnel mode strictly, requirement as in FIPS/CC mode needs to be followed. FIPS/CC (aka FIPS 140-2 & Common Criteria) is a combination certification program for validating cryptographic modules to a certain government standard (FIPS 140-2) as well as validating compliance with international standards for computer security certification. It is usually used in government/federal customer. |
