CloudGuard WAF
  • Documentation Overview
  • What is CloudGuard WAF?
  • Getting started
    • Prepare key information
    • Log in to the Infinity Portal
    • Protect a Web Application / API
    • Deploy Enforcement Point
      • Gateway/Virtual Machine
        • AWS
          • Store Certificates in AWS
          • Store certificates on Gateway
        • Azure
          • Store Certificates in Azure
          • Store Certificates on Gateway
        • VMware
          • Store Certificates on Gateway
          • Configure networking in VMware Deployments
      • WAF as a Service
        • Certificates Managed by Check Point
        • Bring Your Own Certificate
      • Kubernetes Ingress
        • Kong Application Security
        • Istio Application Security
      • Docker
        • Single Docker
          • Deployment using 'docker' command
            • Store Certificates Locally on Docker
          • Deployment in Azure App Services
        • Dual Docker: NGINX/Kong/Envoy + Security Agent
      • Linux / NGINX / Kong
    • Monitor Events
  • Concepts
    • Gateways & Agents
    • Management & Automation
    • Security Practices
    • Contextual Machine Learning
  • Additional Security Engines
    • Anti-Bot
    • API Protection
      • API Discovery
      • Track API Discovery Learning
      • Enforce API Schema
    • File Security
    • Intrusion Prevention System (IPS)
    • Rate Limit
    • Snort Rules
  • SETUP INSTRUCTIONS
    • Setup Custom Rules and Exceptions
    • Setup Web User Response Pages
    • Setup Log Triggers
    • Setup Report Triggers
    • Setup Notification Triggers
    • Setup Behavior Upon Failure
    • Setup Agent Upgrade Schedule
  • HOW TO
    • Edit Web Application/API Settings
    • Edit Reverse Proxy Advanced Settings for a Web Asset
    • Protect an existing production site with CloudGuard WAF's Gateway
    • View Policy of all your Web Applications/APIs
    • Add Data Loss Prevention (DLP) rules
    • Configure Contextual Machine Learning for Best Accuracy
    • Track Agent Status
    • Track Learning and Move from Learn/Detect to Prevent
    • Rotate profile authentication token
    • Upgrade your Reverse Proxy when a Linux/NGINX agent is installed
    • Use Terraform to Manage CloudGuard WAF
    • Authorize Temporary Access for Check Point Support
    • Restrict Access to Backend Servers from CloudGuard WAF as a Service IPs Only
  • Troubleshooting
    • WAF Gateway / Virtual Machine
      • Azure
        • "Unable to find a tag containing the vault's name in the VMSS" Error
        • How To: Configure Key Vault for a Single Gateway
      • NGINX Error: Upstream Sent Too Big Header While Reading Response Header from Upstream
      • How To: Compare Between the Gateway's Certificate and the Upstream Certificate
    • Linux
      • SELinux: Checking Status and Disabling
    • WAF as a Service
      • Certificate Validation Failed: Adjusting CAA Record
      • How To: Redirect a Root Domain to a Subdomain Protected by WAF SaaS
      • How To: Extend Connection Timeout to Upstream
      • How To: Update Expired Certificates
  • references
    • Agent CLI
    • Management API
    • Event Query Language
    • Writing Snort Signatures
    • Events/Logs Schema
    • CVE-2022-3786 and CVE-2022-3602: OpenSSL X.509 Email Address Buffer Overflows (HIGH)
    • CVE-2025-1097, CVE-2025-1098, CVE-2025-24514, CVE-2025-1974: Ingress NGINX Controller RCE (Critical)
  • Resources
    • GitHub
    • Docker Hub
Powered by GitBook
On this page
  • Note About Certificate Renewal
  • Certificates Usage
  • Storing certificates locally on CloudGuard WAF's Gateway

Was this helpful?

  1. Getting started
  2. Deploy Enforcement Point
  3. Gateway/Virtual Machine
  4. AWS

Store certificates on Gateway

PreviousStore Certificates in AWSNextAzure

Last updated 5 months ago

Was this helpful?

Note About Certificate Renewal

When a certificate is renewed, you must update the certificate according to the instructions below, then enforce policy again (even if configuration has not changed) by clicking on "Enforce" on the top bar of the web administration application for CloudGuard WAF in the portal, or by using .

Certificates Usage

In order to use encrypted traffic (HTTPS) a managed reverse proxy must have access to the relevant certificates of the domains and URLs it exposes.

Example - you have two applications and one API endpoint to protect:

  • www.acme.com

  • www.acme.com/sales

  • products.acme.com/catalog

Examples
Certificates used
Required action

Case 1

You have one wildcard certificate for *.acme.com

Place the certificate in the desired certificate storage by following the instructions below. CloudGuard WAF will use it for all relevant applications

Case 2

You have two certificates: (1) for www.acme.com and (2) for products.acme.com

Place both certificates in the desired certificate storage by following the instructions below. CloudGuard WAF will automatically use certificate 1 for the first two Applications/APIs and certificate 2 for the last Application

Storing certificates locally on CloudGuard WAF's Gateway

Follow these steps to store your certificates and private keys locally on the gateway that can be used by CloudGuard WAF to process HTTPS traffic:

  • Advantage: you have full control of your secrets

  • Disadvantage: does not support automatic scaling

Step 1: Download command-line tool

The tool's purpose is to verify the certificate and key files and generate an output .pkg file with a unique name

You can use this tool on any machine where you have the files, before you actually store them on your CloudGuard WAF's Gateway(s).

Step 2: Run the command-line tool

Linux and Mac:

  • PEM certificates: ./certverify --cert {certificate.pem} --key {private-key.key}

  • PFX certificates: ./certverify --cert {certificate.pfx} --pass {password}

Windows:

  • PEM certificates : certverify --cert {certificate.pem} --key {private-key.key}

  • PFX certificates : certverify --cert {certificate.pfx} --pass {password}

Repeat this step for each certificate/private key you wish to use

Only certificates that contain Subject Alternative Name (SAN) are supported

The tool will verify the certificate and key files, and generate an output .pkg file with a unique name that includes both.

Step 3: Store certificate and private key on your CloudGuard WAF Gateway using SCP

You must store the files in directory /etc/certs on CloudGuard WAF's Gateway or else it will not be identified.

If the commands below end with an error, navigate to /etc and make sure a directory exists called "certs" (in linux, use the mkdir command).

The input pkg file for this step is the uniquely named pkg output file of the previous step.

  • Linux or Mac: ./scp {unique-name.pkg} admin@{gateway-ip}:/etc/certs

  • Windows: "C:\Program Files (x86)\WinSCP\WinSCP.com" /command "open scp://admin:{password}@{gateway-ip}" "put cert_cert.pkg /etc/certs/" "exit"

Repeat this step for each certificate/private key you wish to use and for each CloudGUard WAF Gateway.

Step 4: Enforce Policy

CloudGuard WAF will now use the relevant certificates with HTTPS clients that are trying to access your applications.

Step 5: Change relevant DNS entries

You can now change your DNS entries as relevant to point to your CloudGuard WAF Gateway IP or to a Load Balancer in front of several CloudGuard WAF's Gateways.

or run: wget https://sc1.checkpoint.com/nano-agent/certverify/linux/certverify && chmod +x certverify

management API
Linux Download
Mac Download
Windows Download