Study guide

7.2 CA Certificates, Port Handling & Inspection Exemptions

Fortinet FCP - FortiGate 7.6 Administrator Study Guide Exam

Track your progress as you read

Finished sections get a check mark.

1 Introduction & Exam Overview

About the Fortinet FCP FortiGate Administrator Exam (FCP_FGT_AD-7.6) How to Study and Prepare for FortiOS 7.6 Certification

2 Chapter 1: Deployment & System Configuration

1.1 Initial Configuration, GUI/CLI Management & Admin Profiles 1.2 FortiGuard Services, Licensing & Firmware Upgrades 1.3 Virtual Domains (VDOMs) & System Operation Modes 1.4 Fortinet Security Fabric & Device Integration 1.5 High Availability (FGCP) Configuration & Election 1.6 System Logging, Diagnostics & Troubleshooting Tools 1.7 FortiGate CNF, FortiGate VM in Public Cloud & FortiSASE Administration

3 Chapter 2: Firewall Policies & NAT

2.1 Firewall Policy Matching & Object Management 2.2 Source Network Address Translation (SNAT) & IP Pools 2.3 Destination NAT (DNAT), Virtual IPs (VIPs) & Central NAT

4 Chapter 3: Content Inspection & Security Profiles

3.1 Flow-Based vs Proxy-Based Inspection Modes 3.2 Antivirus & FortiSandbox Integration 3.3 Intrusion Prevention System (IPS) Configuration 3.4 Web Filtering & Static URL Management 3.5 Application Control & Traffic Shaping 3.6 DNS Filtering & Botnet C&C Protection

5 Chapter 4: Authentication & FSSO

4.1 Local & Remote Authentication (LDAP, RADIUS, 2FA) 4.2 Fortinet Single Sign-On (FSSO) Architecture & Modes

6 Chapter 5: Routing & SD-WAN

5.1 Static Routing, Policy Routes & Reverse Path Forwarding 5.2 SD-WAN Architecture, Performance SLAs & Balancing Rules

7 Chapter 6: SSL VPN & IPsec VPN

6.1 SSL VPN Web Mode & Tunnel Mode Configuration 6.2 IPsec VPN Phase 1 & Phase 2 Fundamentals 6.3 Advanced IPsec Topologies (Hub-and-Spoke & ADVPN)

8 Chapter 7: SSL/SSH Inspection

7.1 SSL Certificate Inspection vs Deep SSL/SSH Inspection 7.2 CA Certificates, Port Handling & Inspection Exemptions

7.2 CA Certificates, Port Handling & Inspection Exemptions

Key Takeaways Explain This Topic AI

Deploying an Enterprise Subordinate CA (Sub-CA) signed by an internal Root CA avoids manual Root CA installation on domain-joined endpoints.

FortiClient EMS, Active Directory Group Policy Objects (GPO), and Mobile Device Management (MDM) are standard enterprise methods for distributing CA certificates.

Deep SSL Inspection supports custom port definitions per protocol (HTTPS, SMTPS, POP3S, IMAPS, FTPS) as well as SSH deep inspection on port 22.

SSH Deep Inspection can enforce SSH policy checks, inspect SFTP file transfers with Antivirus/DLP, and block unauthorized SSH port forwarding or dynamic SOCKS tunnels.

SSL inspection exemptions prevent connection breakage caused by SSL Certificate Pinning, HSTS applications, and privacy-sensitive categories (Banking, Healthcare).

Last updated: July 2026

7.2 CA Certificates, Port Handling & Inspection Exemptions

Implementing Deep SSL/SSH Inspection in an enterprise environment extends beyond configuring firewall policies. Successful deployment requires a robust Public Key Infrastructure (PKI) strategy, precise control over protocol port definitions, specialized inspection rules for non-HTTP encrypted protocols such as SSH, and comprehensive exemption frameworks to accommodate privacy mandates and applications employing strict security controls.

1. PKI & CA Certificate Deployment Architecture

When FortiGate performs Deep SSL Inspection, it re-signs dynamically generated substitute certificates. If the client endpoint does not explicitly trust the CA certificate that signed the substitute certificate, web browsers and operating systems trigger severe security warnings (e.g., NET::ERR_CERT_AUTHORITY_INVALID or SEC_ERROR_UNKNOWN_ISSUER ), blocking user access. [ Enterprise AD CS Root CA ]

  • |
  • (Signs Subordinate CA Request)
  • v
  • [ FortiGate Subordinate CA ]
  • |
  • (Dynamically Signs Substitute Certs)
  • v
  • +-------------------------------------------------------------+
  • | Domain-Joined Clients (Trust Internal Root CA via AD GPO) |
  • | ==> Automatically Trust Substitute Certs without Errors! |
  • +-------------------------------------------------------------+
  • Default Self-Signed CA vs. Enterprise Subordinate CA

Default Self-Signed CA ( Fortinet_CA_SSL ): Out of the box, FortiGate generates a local, self-signed Root CA certificate. While suitable for initial testing or small lab environments, deploying this default certificate in an enterprise requires manually distributing and installing Fortinet_CA_SSL.cer into the Trusted Root Certification Authorities store on every single endpoint.

Enterprise Subordinate CA (Sub-CA - Recommended Best Practice): In an enterprise with an existing Microsoft Active Directory Certificate Services (AD CS) or third-party PKI infrastructure, administrators generate a Certificate Signing Request (CSR) on FortiGate for a Subordinate CA ( Sub-CA ). The enterprise Root CA signs FortiGate's CSR. Once the signed Sub-CA certificate and chain are imported into FortiGate, all substitute certificates generated by FortiGate chain up to the enterprise Root CA. Because domain endpoints already trust the enterprise Root CA, they automatically trust FortiGate's substitute certificates without requiring any new certificate installation on endpoints .

Endpoint Distribution Methods

For non-domain devices or standalone deployments, CA certificates must be distributed using automated management tools:

Active Directory Group Policy Objects (GPO): Pushes the CA certificate to Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Public Key Policies -> Trusted Root Certification Authorities across all domain-joined Windows machines.

FortiClient Fabric Agent / EMS: FortiClient Endpoint Management Server (EMS) automatically pushes and installs FortiGate CA certificates into client operating system stores upon endpoint registration.

MDM / EMM Solutions: Microsoft Intune, Jamf Pro, or VMware Workspace ONE deploy configuration profiles containing the CA certificate to macOS, iOS, and Android devices.

Untrusted and Invalid Server Certificate Actions

Within config firewall ssl-ssh-profile , administrators configure how FortiGate responds when external target servers present invalid, expired, or untrusted certificates:

block (Default/Recommended): FortiGate terminates the connection and presents a customizable replacement blocking page informing the user that the remote certificate is untrusted.

allow / ignore : FortiGate completes the connection, signing the substitute certificate with a secondary Fortinet_CA_Untrusted CA certificate to trigger browser warnings on the client.

inspect : Applies standard security profile scanning despite remote certificate errors.

2. Custom Port Handling & Multi-Protocol Inspection

Deep SSL/SSH Inspection in FortiOS 7.6 is not restricted to standard HTTPS traffic over TCP port 443. Security profiles support deep inspection across a broad suite of encrypted application protocols:

  • Protocol Default Port Security Inspection Capabilities
  • HTTPS 443, 8443 Web Filtering, Antivirus, IPS, Application Control, DLP
  • SMTPS 465, 587 Antivirus file scanning, Spam filter, DLP data exfiltration checks
  • POP3S 995 Antivirus incoming email attachment scanning
  • IMAPS 993 Antivirus incoming mail stream scanning
  • FTPS 990 Antivirus file upload/download scanning, DLP file inspection
  • SSH 22 Command filtering, SFTP file scanning, Tunnel detection
  • Custom Port Mapping

Enterprise applications frequently host secure services on non-standard ports (e.g., custom HTTPS on port 8080, 8443, or 9443). In config firewall ssl-ssh-profile , administrators can add explicit custom ports to protocol blocks. Furthermore, in Flow-Based Inspection , setting set ports any instructs FortiGate to perform protocol identification on any TCP port, ensuring encrypted traffic on arbitrary ports is intercepted and inspected.

3. SSH Deep Inspection Mechanics

Secure Shell (SSH) provides encrypted terminal access and file transfers over TCP port 22. However, SSH is frequently abused by attackers and insiders to establish encrypted tunnels out of corporate networks, bypassing firewall controls.

FortiGate SSH Deep Inspection offers three distinct protection features:

SSH Command Inspection: Inspects interactive shell commands executed within SSH sessions. Administrators can define pattern filters to log or block specific administrative commands (e.g., rm -rf , dd , chmod , sudo su ).

SSH Tunnel Inspection: Detects and blocks encrypted SSH port forwarding mechanisms—including local port forwarding ( ssh -L ), remote port forwarding ( ssh -R ), and dynamic SOCKS proxies ( ssh -D ). This prevents users from tunneling unauthorized protocols through SSH.

SFTP File Inspection: Inspects files transferred via Secure File Transfer Protocol (SFTP), applying Antivirus scanning and Data Loss Prevention (DLP) dictionary rules to outgoing files. # Configuring SSH Deep Inspection in FortiOS 7.6 CLI

  • config firewall ssl-ssh-profile
  • edit "Enterprise-Deep-Inspection"
  • config ssh
  • set ports 22
  • set status deep-inspection
  • set ssh-policy-check enable
  • set ssh-tun-policy-check enable
  • set unsupported-version block
  • end
  • next
  • end
  • 4. SSL Inspection Exemptions & Bypass Strategies

While Deep Inspection is critical for threat visibility, decrypting 100% of network traffic is technically impossible and legally problematic. Deep inspection can break applications that enforce SSL Certificate Pinning (where the client application hardcodes the expected server public key fingerprint and rejects FortiGate's substitute certificate). Common examples include financial banking applications, mobile app stores, Apple iOS software updates, Microsoft 365 services, Google Drive sync, Zoom, and video conferencing endpoints.

Additionally, privacy laws (such as HIPAA, GLBA, and GDPR) restrict organizations from decrypting employees' personal financial, health, and legal communications.

Exemption Categories in FortiOS 7.6

FortiGate provides four primary exemption mechanisms within config firewall ssl-ssh-profile under config ssl-exempt :

FortiGuard Category Exemptions: Dynamically updated categories provided by FortiGuard. Exclude sensitive web categories such as Finance and Banking , Health and Wellness , and Personal Privacy from decryption.

Address / FQDN Exemptions: Exclude specific destination IP addresses, subnets, or Fully Qualified Domain Names (e.g., *.microsoft.com , *.apple.com ) from deep inspection.

Client IP Exemptions: Exclude specific source devices—such as IoT hardware, VoIP phones, medical equipment, or legacy systems—that cannot support PKI CA certificates.

Reputation-Based Exemptions: Automatically bypass inspection for destination domains rated with high FortiGuard Trust/Reputation scores. # Configuring SSL Inspection Exemptions in FortiOS 7.6 CLI

  • config firewall ssl-ssh-profile
  • edit "Enterprise-Deep-Inspection"
  • config ssl-exempt
  • edit 1
  • set type fortiguard-service
  • set fortiguard-service Finance-and-Banking Health-and-Wellness
  • next
  • edit 2
  • set type address
  • set address "Microsoft-365-FQDN-Group"
  • next
  • edit 3
  • set type address
  • set address "Apple-Update-Servers"
  • next
  • end
  • next
  • end
  • 5. CLI Diagnostics & Troubleshooting Commands

When troubleshooting SSL inspection failures, certificate warnings, or application breakage, FortiOS provides specialized diagnostic commands: # View Active SSL/SSH Inspection Session Information

  • diagnose sys session filter dport 443
  • diagnose sys session list
  • # Test and Debug SSL-SSH Daemon Operations
  • diagnose debug application ssl-ssh-profile -1
  • diagnose debug enable
  • # Check Installed CA Certificates on FortiGate
  • execute vpn certificate ca list
  • # Verify FortiGuard Web Filter Category Lookup for SSL Exemption
  • diagnose test application urlfilter 1 www.bankofamerica.com

Loading diagram... SSL Inspection Exemption Decision Flow