Hello!
We are trying to update certificate on FortiManager for HTTPS admin access.
But after we generated CSR and got CER we are unable to upload it to Manager, because when we are using "Import" via GUI Manager show error - CA certificate check failed. Even after we upload CA certificate - nothing happens all the same. How to upload local certificates to FortiManager ?
And this is cracked.
DO NOT IMPORT CERTIFICATES VIA GUI. Gui completely bugged. From incorrect Timezone visualisation to certificate import fails.
To import certificate issue from CLI:
execute certificate local import // TFTP
Is your certificate signed by Microsoft Certificate Services? I have experienced problems before and solved them by converting the file that I get from MSCS to X.509/PEM format using OpenSSL.
openssl x509 -in certificate.cer -out certificate.pem
or sometimes: openssl x509 -inform der -in certificate.cer -out certificate.pem
Make sure that you are importing the root CA certificate and not an intermediate CA certificate.
I am having a similar problem with trying to add the SSH certificate required to enable remote backups using SCP on my 5.4.1 FMG.
The error is:
Invalid certificate. Command fail. Return code -61
The certificate is in PEM format, and looks exactly like the output from 'show system certificate local'. I tried a few different certificates, entering the key first, and different formatting options. Unfortunately there is GUI option to add SSH certificates, and no option for the 'import' command.
Anyone know any debug commands that might shed some light?
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1759 | |
1116 | |
766 | |
447 | |
242 |
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.