Skip to main content

Decryption Profile

Decryption profiles configure SSL/TLS inspection settings for three proxy types: SSL Forward Proxy (outbound), SSL Inbound Proxy (inbound), and SSL No Proxy (bypass). The scm CLI provides commands to create, update, delete, and load decryption profiles.

Overview

The decryption-profile commands allow you to:

  • Create decryption profiles with SSL/TLS proxy configurations
  • Update existing profile settings including protocol versions and cipher suites
  • Delete profiles that are no longer needed
  • Bulk import profiles from YAML files
  • Export profiles for backup or migration

Proxy Types

Decryption profiles support three proxy types:

Proxy TypeDirectionDescription
SSL Forward ProxyOutboundDecrypt outbound SSL/TLS traffic for inspection
SSL Inbound ProxyInboundDecrypt inbound SSL/TLS traffic to internal servers
SSL No ProxyBypassDefine certificate handling without decryption

Set Decryption Profile

Create or update a decryption profile.

Syntax

scm set security decryption-profile NAME [OPTIONS]

Arguments

ArgumentDescriptionRequired
NAMEProfile nameYes

Options

OptionDescriptionRequired
--folder TEXTFolder locationNo*
--snippet TEXTSnippet locationNo*
--device TEXTDevice locationNo*
--description TEXTProfile descriptionNo
--ssl-forward-proxy TEXTSSL forward proxy settings as JSONNo
--ssl-inbound-proxy TEXTSSL inbound proxy settings as JSONNo
--ssl-no-proxy TEXTSSL no proxy settings as JSONNo
--ssl-protocol-settings TEXTSSL protocol settings as JSONNo

* One of --folder, --snippet, or --device is required.

Examples

Create SSL Forward Proxy Profile

$ scm set security decryption-profile ssl-forward \
--folder Texas \
--ssl-forward-proxy '{"block_expired_certificate": true, "block_untrusted_issuer": true}'
---> 100%
Created decryption profile: ssl-forward in folder Texas

Create Profile with Protocol Settings

$ scm set security decryption-profile custom-decrypt \
--folder Texas \
--ssl-forward-proxy '{"block_expired_certificate": true}' \
--ssl-protocol-settings '{"min_version": "tls1-2", "max_version": "tls1-3"}'
---> 100%
Created decryption profile: custom-decrypt in folder Texas

Create No-Decrypt Profile

$ scm set security decryption-profile no-decrypt \
--folder Texas \
--ssl-no-proxy '{"block_expired_certificate": false}'
---> 100%
Created decryption profile: no-decrypt in folder Texas

Delete Decryption Profile

Delete a decryption profile from SCM.

Syntax

scm delete security decryption-profile NAME [OPTIONS]

Arguments

ArgumentDescriptionRequired
NAMEProfile name to deleteYes

Options

OptionDescriptionRequired
--folder TEXTFolder locationNo*
--snippet TEXTSnippet locationNo*
--device TEXTDevice locationNo*
--forceSkip confirmation promptNo

* One of --folder, --snippet, or --device is required.

Example

$ scm delete security decryption-profile ssl-forward \
--folder Texas \
--force
---> 100%
Deleted decryption profile: ssl-forward from folder Texas

Load Decryption Profile

Load multiple decryption profiles from a YAML file.

Syntax

scm load security decryption-profile [OPTIONS]

Options

OptionDescriptionRequired
--file TEXTPath to YAML file containing profile definitionsYes
--folder TEXTOverride folder location for all profilesNo
--snippet TEXTOverride snippet location for all profilesNo
--device TEXTOverride device location for all profilesNo
--dry-runPreview changes without applying themNo

YAML File Format

---
decryption_profiles:
- name: ssl-forward
folder: Texas
ssl_forward_proxy:
block_expired_certificate: true
block_untrusted_issuer: true

- name: custom-decrypt
folder: Texas
ssl_forward_proxy:
block_expired_certificate: true
ssl_protocol_settings:
min_version: "tls1-2"
max_version: "tls1-3"

Examples

Load with Original Locations

$ scm load security decryption-profile \
--file decrypt-profiles.yaml
---> 100%
✓ Loaded decryption profile: ssl-forward
✓ Loaded decryption profile: custom-decrypt

Successfully loaded 2 out of 2 decryption profiles from 'decrypt-profiles.yaml'

Load with Folder Override

$ scm load security decryption-profile \
--file decrypt-profiles.yaml \
--folder Austin
---> 100%
✓ Loaded decryption profile: ssl-forward
✓ Loaded decryption profile: custom-decrypt

Successfully loaded 2 out of 2 decryption profiles from 'decrypt-profiles.yaml'
note

When using container override options (--folder, --snippet, --device), all profiles will be loaded into the specified container, ignoring the container specified in the YAML file.

Show Decryption Profile

Display decryption profile objects.

Syntax

scm show security decryption-profile [NAME] [OPTIONS]

Arguments

ArgumentDescriptionRequired
NAMEProfile name to display; omit to list allNo

Options

OptionDescriptionRequired
--folder TEXTFolder locationNo*
--snippet TEXTSnippet locationNo*
--device TEXTDevice locationNo*
--output, -o [table|json|yaml]Output format (default: table)No
--max-results INTEGERMaximum number of results to displayNo

* One of --folder, --snippet, or --device is required.

note

When no NAME is specified, all items are listed by default.

Examples

Show Specific Profile

$ scm show security decryption-profile ssl-forward \
--folder Texas
---> 100%
Decryption Profile: ssl-forward
Location: Folder 'Texas'
SSL Forward Proxy:
Block Expired Certificate: true
Block Untrusted Issuer: true

List All Profiles (Default Behavior)

$ scm show security decryption-profile --folder Texas
---> 100%
Decryption Profiles in folder 'Texas':
------------------------------------------------------------
Name: ssl-forward
SSL Forward Proxy: configured
------------------------------------------------------------
Name: custom-decrypt
SSL Forward Proxy: configured
SSL Protocol Settings: TLS 1.2 - TLS 1.3
------------------------------------------------------------

Backup Decryption Profiles

Backup all decryption profile objects from a specified location to a YAML file.

Syntax

scm backup security decryption-profile [OPTIONS]

Options

OptionDescriptionRequired
--folder TEXTFolder to backup profiles fromNo*
--snippet TEXTSnippet to backup profiles fromNo*
--device TEXTDevice to backup profiles fromNo*
--file TEXTOutput filename (defaults to auto-generated)No

* One of --folder, --snippet, or --device is required.

Examples

Backup from Folder

$ scm backup security decryption-profile --folder Texas
---> 100%
Successfully backed up 3 decryption profiles to decryption_profile_folder_texas_20240115_120530.yaml

Backup with Custom Filename

$ scm backup security decryption-profile \
--folder Texas \
--file texas-decrypt-profiles.yaml
---> 100%
Successfully backed up 3 decryption profiles to texas-decrypt-profiles.yaml

Best Practices

  1. Enforce TLS 1.2 Minimum: Use --ssl-protocol-settings to set min_version to tls1-2 to prevent downgrade attacks.
  2. Block Expired Certificates: Enable block_expired_certificate in forward proxy settings to prevent connections to servers with invalid certificates.
  3. Separate Profiles by Use Case: Create distinct profiles for forward proxy, inbound proxy, and no-proxy scenarios rather than combining settings.
  4. Use JSON Input Carefully: Validate JSON strings before passing them to --ssl-forward-proxy and related options to avoid configuration errors.
  5. Backup Before Changes: Always backup existing profiles before making bulk modifications via load commands.