> ## Documentation Index
> Fetch the complete documentation index at: https://docs.safesquid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure HTTPS Inspection

> Prerequisites, certificate generation, enabling SSL inspection, client certificate import, bypass rules, and verification for SafeSquid HTTPS inspection.

# Configure HTTPS Inspection

This guide covers the complete HTTPS inspection setup: generate or import a Root CA certificate, enable inspection in SafeSquid, deploy the certificate to clients, and configure bypass rules for sensitive domains.

**Time to complete (Draft):** Plan **30–60 minutes** including client trust rollout; duration varies by fleet size and MDM maturity.

## Prerequisites

:::note
**Before You Start**

**SafeSquid side:**

* SafeSquid installed and licensed
* Access to [Self-Service Portal](https://key.safesquid.com) (for certificate generation)
* Access to SafeSquid Configuration Portal (`http://safesquid.cfg/`—embedded Rest UI interface built into SafeSquid; accessible only when your client uses the proxy, but NOT resolved by SafeSquid's DNS resolver—or `https://SERVER-IP:8443/` for direct access)

**Client side:**

* List of domains to bypass (banking, healthcare, SSL-pinned apps)
* Method to deploy Root CA to all clients (GPO, MDM, or manual)
* Administrative access to client systems (for certificate import)
* Pilot scope for rollout testing before enterprise-wide enablement

:::

## Why this preparation matters

* Certificate generation is required because clients must trust SafeSquid during interception.
* Bypass planning is required because some applications and destinations are not inspection-safe.
* Client deployment planning is required because one missed trust store can create a widespread certificate-warning incident.
* A pilot scope is required because HTTPS inspection can break business-critical traffic if enabled too broadly.

***

## Step 1: Generate or Import Root CA Certificate

You have three options for the Root CA certificate:

| **Option**                             | **When to Use**             | **Pros**                        | **Cons**                                 |
| -------------------------------------- | --------------------------- | ------------------------------- | ---------------------------------------- |
| **Self-Signed**                        | Testing, small deployments  | Quick, no external dependencies | Not trusted by default, harder to revoke |
| **Enterprise CA (with passphrase)**    | Production with existing CA | Centralized trust, auditable    | Requires CA infrastructure               |
| **Enterprise CA (without passphrase)** | Production, new passphrase  | Same as above                   | Need to set new passphrase               |

**Recommended:** Use self-signed for testing/pilot. Use enterprise CA for production.

Treat the passphrase and certificate material as recovery assets, not only as setup files.

***

### Generate Certificate in Self-Service Portal

1. **Log in** to the [Self-Service Portal](https://key.safesquid.com/)

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image1.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=b96ce091da404334d36938542825a922" alt="Self-Service Portal login" width="1280" height="720" data-path="images/SSL_Inspection/image1.webp" />

2. **Navigate to Certificate Management**

   In the dashboard → find your deployment → click **Manage Certificate**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image2.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=62ed643aeeaa0e2680eeb853d5e8244e" alt="Manage Certificate button" width="1280" height="720" data-path="images/SSL_Inspection/image2.webp" />

***

### Option A: Self-Signed Certificate

3. **Click Generate** (appears if no certificate exists yet)

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image3.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=3e045eb6c32ddbe3037a821c8cbdf4ef" alt="Generate button" width="1280" height="720" data-path="images/SSL_Inspection/image3.webp" />

4. **Select "General self-signed"** → **Enter passphrase** → **Generate**

   :::caution
   **Save Your Passphrase**

   The passphrase is **non-recoverable**. Save it securely—you'll need it to reuse the certificate with different activation keys.

   :::

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image4.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=ba0d20bda0da0ea21ab7bc355e286ad0" alt="Generate self-signed certificate" width="1280" height="720" data-path="images/SSL_Inspection/image4.webp" />

5. **Click Close** to continue

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image5.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=7b055ac77ce171fedfbf858df815dbd3" alt="Certificate generated" width="1280" height="720" data-path="images/SSL_Inspection/image5.webp" />

***

### Option B: Enterprise CA with Existing Passphrase

3. **Click Regenerate** → **Upload enterprise CA files** → **Select "has passphrase"**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image6.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=6f4dc7120e73410f8e618db99526fc46" alt="Upload enterprise CA with passphrase" width="1280" height="720" data-path="images/SSL_Inspection/image6.webp" />

4. **Select CA certificate files** (`.crt` and `.key`)

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image7.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=327da1eb3efb303aa950bac5f0745c9b" alt="Select CA files" width="1280" height="720" data-path="images/SSL_Inspection/image7.webp" />

5. **Enter passphrase** → **Click "Validate private key"**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image8.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=0636077a3fb483f1af348a6801ddc5a4" alt="Enter passphrase" width="1280" height="720" data-path="images/SSL_Inspection/image8.webp" />

6. **Select "Retain password"** → **Upload**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image9.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=48cce18adc844f8a1b18c3885a2c4c53" alt="Retain password and upload" width="1280" height="720" data-path="images/SSL_Inspection/image9.webp" />

7. **Click Close**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image10.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=8a27a12c9bab4e07ffc6cb35d4fa21cd" alt="Upload complete" width="1280" height="720" data-path="images/SSL_Inspection/image10.webp" />

***

### Option C: Enterprise CA Without Passphrase (Set New One)

3. **Click Regenerate** → **Upload enterprise CA** → **Select "does not have passphrase"**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image11.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=4a3bf38c26a1f352025db8ccb5adf3b5" alt="Upload enterprise CA without passphrase" width="1280" height="720" data-path="images/SSL_Inspection/image11.webp" />

4. **Select CA certificate files**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image12.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=6376f7916d15a5bb404a2ae79aa12689" alt="Select CA files" width="1280" height="720" data-path="images/SSL_Inspection/image12.webp" />

5. **Enter new passphrase** → **Upload**

   :::caution
   **Save Your Passphrase**

   This new passphrase is **non-recoverable**. Save it securely.

   :::

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image13.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=0253aa7fb4b72969e9aeef82490f35c5" alt="Enter new passphrase" width="1280" height="720" data-path="images/SSL_Inspection/image13.webp" />

6. **Click Close**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image14.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=ae8e2480f76a4f37abec2490d24ca1a4" alt="Upload complete" width="1280" height="720" data-path="images/SSL_Inspection/image14.webp" />

***

### Download Certificate

7. **Enter passphrase** (if prompted) → **Click Download**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image15.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=cc072d416b4183e72bac1a1354b464b3" alt="Download certificate" width="220" height="43" data-path="images/SSL_Inspection/image15.webp" />

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image16.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=647b28fa351a8d7bcf366aa50c0d7dee" alt="Certificate download" width="1280" height="720" data-path="images/SSL_Inspection/image16.webp" />

**Save this file** — you'll deploy it to all client systems.

***

## Step 2: Enable HTTPS Inspection in SafeSquid

### Access Configuration Portal

1. **Open SafeSquid interface** → **Click "Configure"**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image17.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=f8e8bad5247f609d4f10951c3a50c48d" alt="Click Configure" width="1280" height="720" data-path="images/SSL_Inspection/image17.webp" />

2. **Expand "Real Time Content Security"** in the sidebar

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image18.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=ec6adaf569bec2a6d10ce4e1114675a5" alt="Real Time Content Security" width="1280" height="720" data-path="images/SSL_Inspection/image18.webp" />

3. **Click "HTTPS Inspection"**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image19.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=c3b8d26deb07f0c5dc8b9a0c436b0a76" alt="HTTPS Inspection" width="1280" height="720" data-path="images/SSL_Inspection/image19.webp" />

***

### Enable Global HTTPS Inspection

4. **Click the "Global" tab** → **Click Edit** (pencil icon)

   :::note
   **Version Change**

   SafeSquid versions after June 2017 have three tabs: **Global**, **Inspection Policies**, and **Bypass Policies**.

   :::

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image20.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=7aca062f8df7bbf3cfe297a4eda70e58" alt="Global tab" width="1280" height="720" data-path="images/SSL_Inspection/image20.webp" />

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image21.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=b798a34972fb6162e70680014aba5f77" alt="Click Edit" width="1280" height="720" data-path="images/SSL_Inspection/image21.webp" />

5. **Set "Enabled" to "True"** → **Save Policy**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image22.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=f497ed4ffd5ff9e04f3ba139ab45159c" alt="Enable HTTPS Inspection" width="1280" height="720" data-path="images/SSL_Inspection/image22.webp" />

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image23.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=4e572564f6156abab222fa9c0093acc8" alt="Save Policy" width="1280" height="720" data-path="images/SSL_Inspection/image23.webp" />

***

### Enable Inspection Policies

6. **Click "Inspection Policies" tab**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image24.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=734b4037a9cfb4c0a45b4effc4226f95" alt="Inspection Policies tab" width="1280" height="720" data-path="images/SSL_Inspection/image24.webp" />

7. **Verify default policies are enabled**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image25.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=9b7dfdaf1de32d6d903c01f8fda9dabb" alt="Default policies" width="1280" height="720" data-path="images/SSL_Inspection/image25.webp" />

8. **Find "Enforce SSL scanning for all websites"** → **Click Edit**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image26.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=c1af5828bfb3c77562132fb42d249458" alt="Edit enforce policy" width="1280" height="720" data-path="images/SSL_Inspection/image26.webp" />

9. **Set "Enabled" to "True"** → **Save Policy**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image27.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=371e2448c896e4f8d881dda12ac86edf" alt="Enable enforce policy" width="1280" height="720" data-path="images/SSL_Inspection/image27.webp" />

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image28.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=55bcf145eaa99cdc95bd6fdd01b532c7" alt="Save Policy" width="1280" height="720" data-path="images/SSL_Inspection/image28.webp" />

***

### Save Configuration

10. **Click "Save Configuration"** (floppy disk icon, bottom left)

    <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image29.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=119a3211aed8474529cae50d9c3661b8" alt="Save Configuration" width="1280" height="720" data-path="images/SSL_Inspection/image29.webp" />

11. **Select "No"** (unless deploying to a cluster) → **Submit**

    :::tip
    **Cloud Config**

    Select "Yes" only if:

    * You're deploying the same config to multiple SafeSquid instances (cluster)
    * All sections are fully configured for production

    Otherwise, select "No" to save locally only.

    :::

***

## Step 2 validation checkpoint

Before client rollout, confirm:

* global inspection is enabled
* the intended inspection policy is enabled
* cluster-save behavior matches the rollout plan

If this is wrong here, client trust deployment will not produce the expected inspection outcome.

***

## Step 3: Deploy Root CA to Clients

All clients must trust the SafeSquid Root CA to avoid certificate warnings.

### Windows (Chrome, Edge, IE)

**See detailed guide:** [Import Certificate into Chrome/IE](/Import_Certificate_Chrome_IE)

**Quick summary:**

1. Double-click the downloaded certificate
2. **Install Certificate** → **Local Machine** → **Next**
3. **Browse** → **Trusted Root Certification Authorities** → **OK**
4. **Next** → **Finish**

**For enterprise deployment:** Use GPO to push the certificate to all Windows machines.

***

### Firefox (All Platforms)

Firefox uses its own certificate store.

1. **Download the SafeSquid Root CA** (from Step 1)
2. **Open Firefox** → **Settings** → **Privacy & Security** → **Certificates** → **View Certificates**
3. **Authorities tab** → **Import**
4. **Select the SafeSquid certificate file**
5. **Check "Trust this CA to identify websites"** → **OK**

**Verify:**

* Visit `https://www.google.com` (via SafeSquid proxy)
* Click padlock → **More information** → **View Certificate**
* Certificate chain should show SafeSquid Root CA

***

### macOS

**Via System Keychain:**

1. Double-click the certificate file
2. **Add** → Enter admin password
3. **Open Keychain Access** → **System** keychain
4. Find SafeSquid certificate → **Get Info**
5. **Trust** section → **When using this certificate** → **Always Trust**

**For enterprise:** Use MDM (Jamf, Intune) to deploy to all Macs.

***

### Mobile Devices

**iOS/Android:**

* Deploy via MDM (Jamf, Intune, Workspace ONE)
* Manual: Email certificate → Open on device → Install

***

## Step 4: Validate inspection and bypass behavior

Run both of these tests before broad rollout:

1. **Positive inspection test**\
   Visit a site that should be inspected and confirm the presented certificate is issued through the SafeSquid trust path.

2. **Negative bypass test**\
   Visit a destination that should be bypassed and confirm the original site certificate remains intact.

Also confirm that a content-aware policy which could not previously see HTTPS traffic now triggers on an inspected flow.

***

## Step 5: Configure Bypass Policies

Bypass HTTPS inspection for:

* Banking and financial sites (compliance)
* Healthcare portals (HIPAA)
* SSL-pinned applications (will break otherwise)
* Government sites

***

### Enable Default Bypass Policy

1. **Click "Configure"** in SafeSquid interface

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image30.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=7501ef706f4f2bcbb41fb84d91aba1d9" alt="Click Configure" width="1280" height="720" data-path="images/SSL_Inspection/image30.webp" />

2. **Click Search** (magnifying glass icon, top right)

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image31.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=e18a7c13cdf54ba3a257ec1989eb9327" alt="Click Search" width="1280" height="720" data-path="images/SSL_Inspection/image31.webp" />

3. **Type "BYPASS SSL INSPECTION"** → **Enter**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image32.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=6ac5e4afad519f29279fc258a26dfc6b" alt="Search bypass" width="1280" height="720" data-path="images/SSL_Inspection/image32.webp" />

4. **Click Edit** on the bypass policy

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image33.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=874a9cd053e2ce7b729277f5e5abe741" alt="Edit bypass policy" width="1280" height="720" data-path="images/SSL_Inspection/image33.webp" />

5. **Set "Enabled" to "True"** → **Save Policy**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image34.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=1fbea3f54c8aa53ced420cc8b52c7a46" alt="Enable bypass" width="1280" height="720" data-path="images/SSL_Inspection/image34.webp" />

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image35.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=7afe259ac3ce87707bc163e4c580d00a" alt="Save bypass policy" width="1280" height="720" data-path="images/SSL_Inspection/image35.webp" />

6. **Review and enable related bypass policies** (for banking apps, Windows Update, etc.)

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image36.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=9b6ea8380078534b45e17226d8732654" alt="Review bypass policies" width="1280" height="720" data-path="images/SSL_Inspection/image36.webp" />

***

### Create Custom Bypass for Specific Domains

**Example:** Bypass HTTPS inspection for Dropbox.

<img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image37.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=e00948ceb8d9805209cf2706652b2744" alt="Custom bypass example" width="1280" height="720" data-path="images/SSL_Inspection/image37.webp" />

**Step 1: Define Request Type**

1. **Sidebar** → **Profiling Engine** → **Request Types** → **Add New**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image38.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=23afd466b0f67e50457e96f221f44172" alt="Request Types" width="1280" height="720" data-path="images/SSL_Inspection/image38.webp" />

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image39.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=0b741b94a0d65eea3c5cbd82de4f61f0" alt="Add New" width="1280" height="720" data-path="images/SSL_Inspection/image39.webp" />

2. **Comment:** "Dropbox domains"\
   **Match pattern:** `.*dropbox.*`\
   **Smart TLD:** True

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image40.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=0717496edd752046286daa863d07656c" alt="Define Dropbox pattern" width="1280" height="720" data-path="images/SSL_Inspection/image40.webp" />

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image41.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=8b8c527395c20ae981c9cbdca1ec62de" alt="Enable Smart TLD" width="1280" height="720" data-path="images/SSL_Inspection/image41.webp" />

**Step 2: Create Access Policy**

3. **Sidebar** → **Access Policies** → **Access Profiles** → **Add New**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image42.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=9bb2025f3fae89a9871bab72a6efb312" alt="Access Profiles" width="1280" height="720" data-path="images/SSL_Inspection/image42.webp" />

4. **Comment:** "Bypass SSL for Dropbox"\
   **Request Type:** Select "Dropbox domains" (from Step 1)\
   **Added profiles:** Select "BYPASS SSL INSPECTION"

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image43.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=871ff4d6c17d393af9ab6f8a8afd8c09" alt="Create bypass policy" width="1280" height="720" data-path="images/SSL_Inspection/image43.webp" />

5. **Save Policy**

   <img src="https://mintcdn.com/safe-squid-labs-12a0916f/BpfZQA3rvueeaZ1Q/images/SSL_Inspection/image44.webp?fit=max&auto=format&n=BpfZQA3rvueeaZ1Q&q=85&s=8f3e52964afb9dd14754cdeb07b1da77" alt="Save bypass" width="1280" height="720" data-path="images/SSL_Inspection/image44.webp" />

6. **Save Configuration** (floppy disk icon, bottom left)

**Test:** Upload/download files via Dropbox to verify bypass works.

***

## Verification

### Test HTTPS Inspection is Working

**On a client with SafeSquid Root CA installed:**

1. **Browse to** `https://www.google.com`
2. **Click padlock** → **Certificate** → **View**
3. **Verify:** Certificate chain shows SafeSquid Root CA as the issuer
4. **No certificate warnings** should appear

**Expected certificate chain:**

```
www.google.com (issued by SafeSquid Root CA)
  └─ SafeSquid Root CA (self-signed or your enterprise CA)
```

***

### Test Bypass is Working

**On the same client:**

1. **Browse to a bypassed site** (e.g., banking site you added to bypass)
2. **Click padlock** → **Certificate** → **View**
3. **Verify:** Certificate shows the **original site's CA** (not SafeSquid)

**Expected:** Bypassed sites show their original certificates (e.g., DigiCert, Let's Encrypt).

***

### Check SafeSquid Logs

**On SafeSquid server:**

```bash theme={null}
tail -f /var/log/safesquid/access/extended.log
```

**Expected for inspected sites:**

* Full URL logged (including path, not just domain)
* `200 OK` or similar HTTP status

**Expected for bypassed sites:**

* Only `CONNECT` method logged
* No detailed path information

***

## Troubleshooting

| **Issue**                               | **Likely Cause**                    | **Fix**                                                                                       |
| --------------------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------- |
| Certificate warnings on all HTTPS sites | Root CA not installed on client     | Install SafeSquid Root CA in Trusted Root store (see Step 3)                                  |
| Firefox shows warnings, Chrome works    | Firefox uses separate cert store    | Import certificate into Firefox separately (see above)                                        |
| Banking/healthcare sites broken         | HTTPS inspection enabled, no bypass | Add sites to bypass policy (Step 4)                                                           |
| Mobile apps not working                 | SSL pinning                         | Add app's domains to bypass policy                                                            |
| "NET::ERR\_CERT\_AUTHORITY\_INVALID"    | Root CA not trusted                 | Verify certificate installed in **Trusted Root Certification Authorities** (not Intermediate) |
| Inspection works, then stops            | SafeSquid restart cleared config    | Re-save configuration; check if config was saved to cloud                                     |
| Some sites work, others don't           | Partial bypass or incorrect policy  | Review bypass policies; check logs for CONNECT vs full requests                               |

**Still not working?**

1. **Verify HTTPS Inspection is enabled:**
   * Configuration Portal → Real-time Content Security → HTTPS Inspection → Global = True

2. **Check certificate is deployed:**
   * Windows: Run `certmgr.msc` → Trusted Root Certification Authorities → Certificates
   * Firefox: Settings → Privacy & Security → Certificates → View Certificates → Authorities
   * macOS: Keychain Access → System → Find SafeSquid cert

3. **Test with curl:**
   ```bash theme={null}
   # Should work without cert if bypass is correct:
   curl --proxy http://SAFESQUID-IP:8080 https://www.google.com
   ```

4. **Check SafeSquid logs:**
   ```bash theme={null}
   tail -50 /var/log/safesquid/safesquid.log
   grep -i "ssl\|cert\|handshake" /var/log/safesquid/safesquid.log
   ```

***

## Source register

| Topic                                         | Status        | Source                                                                    |
| --------------------------------------------- | ------------- | ------------------------------------------------------------------------- |
| Root CA via Self-Service Portal               | **Confirmed** | This guide, [Self-Service Portal](/Self-Service_Portal)                   |
| Enable inspection UI path                     | **Confirmed** | Steps in this guide                                                       |
| Client trust stores (Windows, Firefox, macOS) | **Confirmed** | This guide, [Import Certificate Chrome/IE](/Import_Certificate_Chrome_IE) |
| Exact time-to-complete for enterprise fleets  | **Missing**   | Estimate only; size per change window                                     |

***

## Next Steps

1. **[Authentication](/Authentication)** — Enable user-aware policies (SSL Inspection must be working first)
2. **[Access Restriction](/Access_Restriction)** — Configure URL filtering (now works on HTTPS)
3. **[Data Leakage Prevention](/Data_Leakage_Prevention)** — Scan HTTPS uploads for sensitive data
4. **[Troubleshooting](/Troubleshooting)** — SSL-specific issues and diagnostics

**Related:**

* [Self-Service Portal](/Self-Service_Portal) — Manage certificates
* [Import Certificate into Chrome/IE](/Import_Certificate_Chrome_IE) — Detailed Windows guide


## Related topics

- [SSL Inspection](/use_cases/ssl_inspection/ssl_inspection.md)
- [Proxy Chain](/use_cases/scaling_and_high_availability/proxy_chain.md)
- [Login Issues on Specific Websites](/troubleshooting/unable_to_login_specific_website.md)
- [Transparent Proxy](/use_cases/scaling_and_high_availability/transparent_proxy.md)
- [Compliance Templates](/use_cases/access_restriction/compliance_templates.md)
