This section describes basic concepts and functions of the SSL-encrypted traffic detection policy.
The detection policy determines whether to decrypt, not decrypt, or block encrypted packets that match the detection policy. After receiving an SSL-encrypted packet, the FW checks the packet based on the security policy and discards the packet if the check result is block. After an SSL-encrypted traffic detection policy is configured for SSL-encrypted packets that pass the security check, the detection policy determines how the FW processes the encrypted packets.
The following table describes matching rules of the SSL-encrypted traffic detection policy. The packets matching these rules are allowed to pass or are blocked based on the action configured in the decryption profile. You can choose Policy > Encrypted Traffic Detection > Detection Policy on the web UI to view the information.
Policy Rule |
Description |
|---|---|
Source Address/Zone and Destination Address/Zone |
Source Address/Zone refers to the security zone or IP address from which traffic is generated, while Destination Address/Zone refers to the security zone or IP address to which traffic is destined. For example, to decrypt all packets from an external host to an internal host, you can select the external zone as the source security zone and the internal zone as the destination security zone. NOTE:
Select the corresponding address or address group, click Invert, and then click OK. |
User |
A user indicates from whom traffic is originated. The parameter value can be User and User Group. You can set different detection policy rules for different users or user groups. Generally, it is more convenient to select a user group than a single user. For example, you can create a detection policy to decrypt packets sent from a user group on the intranet, and then create an independent detection policy rule to not decrypt packets received by the user group. If a new intranet user has the same requirement, you only need to add the user to the user group. After user group parameters are configured, the detection policy of the user group is applied to all members in the user group. If a user in the user group has special requirements, you need to create an independent detection policy for the user and set the priority of the independent policy to be higher than that of the user group-based detection policy. |
Service |
This rule indicates the protocol type of the traffic. During SSL-encrypted traffic detection, the FW supports only the HTTPS, POP3S, IMAPS, and SMTPS protocols. NOTE:
You can specify services or service groups to be excluded from the policy (namely, these services or service groups are not subject to the policy). |
URL Categories |
Select or create a URL category. URL categories are classified into predefined and user-defined categories. The administrator can use system-provided predefined categories or create user-defined categories. URL categories facilitate users to implement many requirements. For example:
The FW first uses the SNI field in the Client Hello packet sent by the client as the rule for matching the URL category. If the SNI is inconsistent with the SAN/CN during verification, the FW uses the SAN/CN field as the rule for matching the URL category in the subsequent session. |
The SSL-encrypted traffic detection policy provides the following traffic processing modes:
You can configure the priorities for multiple SSL-encrypted traffic detection policies, and rules for matching the detection policies are as follows:
The SSL-encrypted traffic detection function requires a large number of encryption and decryption operations on traffic. If SSL decryption is performed on all SSL-encrypted traffic, the forwarding performance of the device is affected. Therefore, you need to configure the SSL-encrypted traffic detection policy based on actual requirements and decrypt only the SSL-encrypted traffic that meets certain conditions.