Skip to main content
Scorpa
New Member
April 22, 2016
Question

Fortimanager Certificate

  • April 22, 2016
  • 3 replies
  • 10093 views

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 ? 

3 replies

Scorpa
ScorpaAuthor
New Member
April 22, 2016

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

Michael_McDonnell
New Member
April 26, 2016

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. 

ergotherego
New Member
October 7, 2016

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?

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!