Skip to main content
spathak
Staff
Staff
April 21, 2020

Technical Tip: How to redirect admin login to HTTPS from HTTP

  • April 21, 2020
  • 0 replies
  • 14666 views

Description

 

This article describes how to redirect admin login to HTTPS from HTTP.

 

When browsing the FortiGate using http://fortigate.ip, it will redirect to https://fortigate.ip.

For security reasons, this redirect is enabled by default in newer FortiOS versions:

 

AlexCFTNT_0-1671695653121.png

 

Solution

 

This setting can be enabled/disabled in the following way:

 

From the GUI go to System -> Settings -> Administrator Settings and select check box 'Redirect to HTTPS' to make sure that all attempted HTTP login connections are redirected to HTTPS:

 

AlexCFTNT_1-1671695854350.png


From the CLI:

 

# config system global
    set admin-https-redirect enable
end

 

With VDOMs enabled:

 

# config global
# config system global

    set admin-https-redirect enable
end