Created on 07-06-2022 02:48 PM Edited on 10-13-2024 09:48 PM By Anthony_E
Description |
This article describes how to resolve an issue where, when a user connects to FortiGate GUI using the FortiGate IP address, the web page displays the certificate error: ERR_CERT_COMMON_NAME_INVALID. |
Scope | FortiGate. |
Solution |
The following certificate error is seen.
The Common Name represents a server name protected by the SSL certificate. The certificate is valid only if the requested hostname matches the certificate's common name.
Check the Certificate, it is issued to *****.com:
The user connects to the IP address https://x.x.x.x. The certificate's common name is *****.com, which does not match. The certificate should be issued to the IP address x.x.x.x, or the user should connect to the URL *****.com.
Complete the CSR, download it, have it signed by an internal Certificate Authority, and import it back to FortiGate. Publicly-trusted Certificate Authorities such as Symantec, Comodo, GoDaddy, and Let'sEncrypt will not sign a certificate issued to an IP address.
Once the certificate is imported back to FortiGate, assign it to the admin access:
config system global set admin-server-cert <certificate_name> end
Alternative Method: Fortinet_GUI_Server certificate:
Configure the Fortinet_GUI_Server certificate under System -> Setting -> Administration Settings -> HTTPS server certificate.
After, install the Fortinet CA SSL on the PC as a Trusted Root Certificate. The error will be removed. The Fortinet CA SSL certificate can be downloaded from System -> Certificate->Fortinet_CA_SSL
Technical Tip: How to assign a SSL certificate for remote administration of FortiGate Generating a CSR on a FortiGate |
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.