Skip to main content
spathak
Staff
Staff
Apr 21, 2020 10:10 AM UTC

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

  • Apr 16, 2026 12:21 PM UTC
  • 0 replies
  • 14891 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

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024