Create a Decryption Rule

Create decryption rules that contain a set of criteria against which a network packet is matched and decrypted.

Before you can create a decryption rule:
When the specified source and destination match condition is met, the firewall takes the Rule Action. You can choose to:
  • Decrypt with SSL forward proxy
  • Decrypt with SSL inspection
  • Don't decrypt the traffic.

If you choose to decrypt, you then choose a decryption profile and mapped secret to apply when decrypting traffic. You configure decryption profiles and mapped secrets in the policy before you construct the rule.

You can have a maximum of 1,000 decryption rules for each policy. By default, each new rule you create becomes the first in the list. You can change the order of priority.

Important

Some names are reserved by Palo Alto Networks® and can't be used.
    1. On the navigation menu, select Identity & Security. Go to Firewalls, select Network Firewall Policies.
    2. Select the firewall policy.
    3. Under Policy resources, select Decryption rules.
    4. Select Create decryption rule.
    5. In the Name box, type the rule name.
    6. Under Source addresses, do one of the following:
      • To match any source address for the rule to take effect, select Any address.
      - or -
      • To match addresses defined in an address list for the rule to take effect, select Select address lists. Then select the address list or create a new one. To learn how to create an address list, see Create an Address List.
    7. Enter the information for the decryption rule:
      • Rule action: Specify the action that you want to take if the match condition is met:
        • Decrypt with SSL forward proxy
        • Decrypt with SSL inbound inspection
        • Do not decrypt
      • Rule order: Select the position of the rule in relation to other decryption rules in the policy. The firewall will apply the decryption rules in the specified order from first to last. You can specify the following rule positions:
        • First rule in the list
        • Last rule in the list
        • Custom position (Only enabled if you create more than one decryption rule.)
        If you select Custom position, specify whether you want this rule to come Before an existing rule, or After an existing rule. Then, specify the existing rule you want the new rule to come before or after.
    8. Select Create decryption rule.
  • Use the network-firewall decryption-rule create command and required parameters to create a decryption rule:

    oci network-firewall decryption-rule create --name my_decryption_rule --network-firewall-policy-id network firewall policy OCID
    --decryption-profile decryption_profile --action DECRYPT --condition '[{"sourceAddress":"IP_address"}]' ...[OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateDecryptionRule operation to create a decryption rule.