This section describes how to configure SSL decryption-exempted.
The configuration operations vary depending on different SSL decryption-exempted scenarios.
The network security for the SSL decryption-exempted scenario is low. Therefore, not all traffic can be decryption-exempted. You can configure decryption-exempted for specific traffic based on certain detection policy rules (such as source IP address and URL category).
By default, over 100 common trusted CA certificates have been preset on the FW, which can be used to verify most server certificates. Generally, the default CA certificates are used and no other CA certificate needs to be imported. In some cases, if the preset CA certificate fails to verify the peer server certificate, you need to import the corresponding CA certificate from the external system.
Choose Object > Certificates > CA Certificates. Click Upload to import the CA certificate to the device.
Choose Policy > Encrypted Traffic Detection > Detection Profile, click Add, and set Type to No decrypt. Set actions for Untrusted Certificate and SNI and SAN/CN Not Matched to Allow or Block.
Choose Policy > Encrypted Traffic Detection > Detection Policy, configure matching rules, set the action to No decrypt, and select the configured detection profile.
For details about how to upload certificate files on the FW, see Configuring the FW as an FTP Server.
The uploaded certificate and private key must be saved to the specified directory as required. The certificate and private key of the root system are stored in the hda1:/pki/public/ directory. The certificate and private key of a virtual system are stored in the hda1:/pki/vsys/ directory (vsys is a virtual system name). When the certificate and private key that are not saved as required are imported to the device memory, the system displays a message, indicating that the certificate does not exist.
<sysname> system-view [sysname] pki realm abc [sysname-pki-realm-abc] quit [sysname] pki import-certificate ca realm abc pem filename ca.cer
<sysname> system-view [sysname] app-proxy ca trust filename ca.cer
In the SSL decryption-exempted scenario, the FW verifies the server certificate. If the server certificate is untrusted, the FW takes the following actions:
By default, the system allows the establishment of the SSL connection between a client and a server.
In the SSL decryption-exempted scenario, the FW verifies the consistency between SNI and SAN/CN. When SNI and SAN/CN are not matched, the FW takes the following actions:
By default, the system allows the establishment of the SSL connection between a client and a server.
decryption-policy
rule name rule-name
description description
The description must be clearly specified, so that an administrator can easily find and maintain the policy.
add tag tag-name
After the policy references the tag, you can query policies according to the tag and perform batch operations such as deleting, moving, enabling, and disabling. For details about tag introduction and configuration, see Tag.
Function |
Command |
|---|---|
Set the source security zone. |
source-zone { zone-name &<1-6> | any } |
Set the destination security zone. |
destination-zone { zone-name &<1-6> | any } |
Specify a source IP address. |
source-address ipv4-address mask mask-address source-address-exclude { address-set address-set-name &<1-6> | ipv4-address { ipv4-mask-length | mask mask-address | wildcard } | range ipv4-start-address ipv4-end-address } [ description description ] |
Specify a destination address. |
destination-address ipv4-address mask mask-address destination-address-exclude { address-set address-set-name &<1-6> | ipv4-address { ipv4-mask-length | mask mask-address | wildcard } | range ipv4-start-address ipv4-end-address } [ description description ] |
Configure a user. |
user username user-name &<1-6> |
Configure a service. |
service { service-name &<1-6> | any } service-exclude service-name &<1-6> |
Configure a URL category. |
url pre-defined category name category-name |
For details about how to configure a detection profile, see Configuring a Detection Profile.
action no-decrypt [ profile profile-name ]