Skip to main content
KC_Hing
Staff
Staff
Jan 5, 2023 2:26 PM UTC

Technical Tip: How to force HTTP to HTTPS for a specific website

Description

This article describes a configuration example to force a specific HTTP access traffic to HTTPS URL redirections.

Scope

FortiProxy.

Solution

1) To create an FQDN object from  GUI:

- Go to Policy & Objects -> Addresses and select Create New -> Address.

- Specify a Name, select FQDN type and enter an FQDN address.

 

KC_Hing_0-1672926960531.png

 

2) To create a proxy service object.

- Go to Policy & Objects -> Services and select Create New -> Service.

- Specify a Name, Service Type, and Destination Port.

 

KC_Hing_1-1672927013921.png

 

3) To create a policy to match specific HTTP access traffic then force with HTTPS URL redirection.

 

KC_Hing_2-1672927079228.png

 

4) To create a second policy to allow redirected URL access traffic.

 

KC_Hing_3-1672927128532.png
    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT