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.
Debbie_FTNT
Staff
Staff
Article Id 190049

Description
This article expands upon the transparent web-proxy configuration guide:
https://docs.fortinet.com/document/fortigate/6.4.7/administration-guide/15908/transparent-proxy


Solution
FortiGates, when serving as transparent web-proxy, might still present their own certificates to the user during authentication if it happens over HTTPS, which can lead to certificate errors if the FortiGate certificates are not trusted.

This usually shows as warnings/errors in browsers regarding untrusted certificates or certificate issuers, such as this:



  
Certificates for proxy connections/captive portal are set in CLI here.
# config user setting
    set auth-cert <server certificate>
    set auth-ca-cert <CA certificate of server certificate>
end
Certificates for transparent (web) proxy in particular, however, are specified here:
# config web-proxy global
    set ssl-cert <server certificate>
    set ssl-ca-cert <server certificate>
    set proxy-fqdn <FQDN of FortiGate>
end
If a proxy-fqdn is defined here, the server certificate must contain the FQDN as subject and/or Subject Alternative Name.

Note:
There can be issues with Chrome or Chrome-based browsers not accepting the server certificate if it lacks a Subject Alternative Name (SAN).