Skip to main content
Daniyal007
Explorer
May 13, 2024
Solved

Fortigate Web Gui Certificate

  • May 13, 2024
  • 9 replies
  • 3269 views

Hi there,

I am accessing my FortiGate web GUI using a public IP address.

My question is, whenever I access the web GUI using the domain name, it does not show any error regarding an unsecured connection. However, whenever I try to access it using the IP address, it shows an unsecured connection error.

I want the FortiGate to only be accessible via the domain name with a secured, encrypted connection, and not via the IP address

Best answer by ozkanaltas

Hello @Daniyal007 ,

 

If you can add the IP address of FortiGate to the San area. You will not see a warning when you connect with the IP address.

 

 

9 replies

ozkanaltas
Valued Contributor III
May 13, 2024

Hello @Daniyal007

 

This is normal behavior. If your fqdn and certificate san or cn area are matched this warning disappears. 

 

Probably your certificate san or cn area does not include your IP address. Because of that, you see a warning if you connect with an IP address instead of fqdn.

 

There is no option for just connecting with fqdn on Fortigate. You need to resume this way.

Daniyal007
Explorer
May 13, 2024

so i have to add CN as domain name and ip address as SAN right?

ozkanaltas
Valued Contributor III
May 13, 2024

Hello @Daniyal007 ,

 

If you can add the IP address of FortiGate to the San area. You will not see a warning when you connect with the IP address.

 

 

Daniyal007
Explorer
May 13, 2024

my main focus is not to get warning when i access fortigate.

so according to your recommendation i have to add domain name in CN and ip address in SAN . thats how i dont get waring even when i access with domain or ip Right? 

pminarik
Staff
Staff
May 13, 2024

The validity of the certificate is evaluated based on whether the website address in the address bar matches the identity claimed in the certificate (in "subject alternative name" (SAN) attribute), among other things.

Your description is a strong indication that the current certificate has the domain name included in the SAN, but not the IP. 

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!