FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
spathak
Staff
Staff
Article Id 198728

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