Training and CyberInsights Today

F5 ASM

17 lessons · Beginner to advanced

Policies, staging, learning, signatures, tuning, API security, logs and recovery.

F5 ASM training →

FortiWeb

17 lessons · Beginner to advanced

Server policies, profiles, ML, signatures, APIs, troubleshooting and HA.

FortiWeb training →

How to use the WAF training hub

CyberInsights Today

Daily cybersecurity analysis and practical bulletins

Understand recent vulnerabilities, threats, their impact and mitigation. When there is no worthwhile new issue, learn a security concept or defensive practice through clear explanations, illustrations and evidence.

Read CyberInsights Today →

FortiWeb Lesson 05: HTTPS Certificates, TLS and Trusted Client IPs

FORTIWEB CLASSROOM • LESSON 05

Level: Beginner to intermediate · Study and lab: 60 minutes
Instructor: Harpreet Singh Virdi, CISSP, CCSP

FortiWeb course guide · FortiWeb training block


Secure both sides of the proxy

In reverse proxy, the browser and origin usually participate in separate connections. A trusted browser-to-FortiWeb connection does not automatically secure the FortiWeb-to-origin connection. Draw both legs before configuring certificates.

Certificate fundamentals

A certificate binds an identity to a public key within a trust framework. The hostname, validity period, chain, private key, and supported TLS settings matter. The private key is sensitive. Do not publish it in screenshots, backups placed in public repositories, or help requests.

For the client-facing leg, use a lab certificate whose name matches books.example.test and whose issuer is trusted by the lab client. For origin HTTPS, configure the supported encryption and server-validation settings to match the origin's identity and trust requirements. Do not disable certificate checks to disguise a design error.

Guided TLS lab

  1. Record the hostname and trust expectations for each leg.
  2. Import the appropriate lab certificate and private key using the supported certificate workflow.
  3. Reference the certificate, or SNI configuration where needed, in the lab server policy.
  4. Configure origin HTTPS separately if the design requires it.
  5. Visit the virtual hostname and inspect the client-visible certificate.
  6. Send a normal application request and confirm inspection still occurs.
  7. In the isolated lab, deliberately use a mismatched test hostname and explain the resulting error; restore the valid configuration afterward.

Expected result: the intended hostname works with valid trust, and you can identify which connection fails when you introduce a mismatch.

Who is the client?

A load balancer or CDN in front of FortiWeb may become its immediate network peer. Forwarded headers can carry the original client address, but clients can also forge headers. Configure the proxy trust relationship so only the approved upstream path supplies authoritative client information.

This distinction affects logging, rate limits, source-based access rules, and bot decisions. Two people behind NAT may share one source address. One untrusted header value must not be treated as proof of user identity.

Client-IP exercise

  1. Send a request directly within the lab and record the observed source.
  2. If an approved test proxy is available, repeat through it and compare the immediate peer with the intended real client.
  3. Send an untrusted forwarded-header value from the direct client. Confirm it is not accepted as authoritative.

Knowledge check

Why might a rate-limit rule affect many innocent users behind a proxy?

Instructor answer

The rule may identify the proxy or shared NAT address as one client. Review the trust configuration and supported tracking scope before choosing thresholds.


Official reading

Independent training, not affiliated with Fortinet. Examples use an authorized isolated lab with synthetic data. The lab steps and expected outcomes have not been executed on a FortiWeb appliance for this publication. Firmware, platform, operating mode, licensing, and subscriptions affect behavior; follow the documentation for your exact build. References use 8.0.x examples and do not constitute an upgrade recommendation.

← Previous FortiWeb lesson · FortiWeb course guide · Next FortiWeb lesson →

Comments

Popular posts from this blog

PHP2Shell Explained: Impact, Patches and Mitigation for CVE-2026-109618 and CVE-2026-109619

Start Here: F5 ASM Classroom — From Beginner to Advanced

Lesson 01: What Is F5 ASM? Your First Web Application Firewall Class