Skip to main content
dbhavsar
Staff
Staff
Sep 25, 2024 1:54 PM UTC

Technical Tip: Linux machine behind FortiGate cannot open websites when UTM is enabled

Description This article describes when end-machine behind FortiGate cannot access websites when UTM features are enabled on the policy.
Scope FortiGate.
Solution

Here to use an example, a Linux machine has been used.

Below is the policy configured on FortiGate that has web-filter enabled and is using the custom-deep-packet inspection. Also, the 'Social Networking' category in the web-filter has an action set to Authenticate.

 

config firewall policy
    edit 5
        set name "Internet"
        set uuid f4c67036-2d75-51ef-54e1-255cc5e90cf1
        set srcintf "port4"
        set dstintf "port2"
        set action accept
        set srcaddr "all"
        set dstaddr "all"
        set schedule "always"
        set service "ALL"
        set utm-status enable
        set inspection-mode proxy
        set ssl-ssh-profile "custom-deep-inspection"
        set webfilter-profile "Test"
        set logtraffic all
        set nat enable
    next
end

 

Web-filter profile (Test):


web-filter.png
Below is the error on the end-machine:


error.jpg
Solution:

  1. Navigate to SSL/SSH Inspection -> Select the profile -> Download the certificate being used for inspection.
  2. Import the certificate in the browser in a Linux machine Importing SSL Certificate in Mozilla Firefox.
  3. Once the certificate is imported, websites can be accessed successfully and will ask to authenticate as per the action set on the category:


fb.png
Note: If having the same issue on other platform such as Windows or macOS, try installing the certificate either in machine's Trusted Root CA folder or by importing and trusting the certificate in the browser itself.

 

    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