Configuring an SSL client policy
An SSL client policy is a set of SSL parameters that the client uses to establish a connection to the server. An SSL client policy takes effect only after it is associated with an application such as DDNS.
In Release 1111, you can specify the SSL 3.0 or TLS 1.0 for an SSL client policy:
If TLS 1.0 is specified and SSL 3.0 is not disabled, the client first uses TLS 1.0 to connect to the SSL server. If the connection attempt fails, the client uses SSL 3.0.
If TLS 1.0 is specified and SSL 3.0 is disabled, the client only uses TLS 1.0 to connect to the SSL server.
If SSL 3.0 is specified, the client uses SSL 3.0 to connect to the SSL server, whether you disable SSL 3.0 or not.
As a best practice to enhance system security, disable SSL 3.0 on the device and specify TLS 1.0 for an SSL client policy.
In Release 1121 and later, the SSL client always uses the SSL protocol version specified for it, whether you disable the SSL protocol version or not.
To configure an SSL client policy:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. (Optional.) Disable SSL session renegotiation. | ssl renegotiation disable | By default, SSL session renegotiation is enabled. This command is available in Release 1121 and later. |
3. Create an SSL client policy and enter its view. | ssl client-policy policy-name | By default, no SSL client policies exist on the device. |
4. (Optional.) Specify a PKI domain for the SSL client policy. | pki-domain domain-name | By default, no PKI domain is specified for an SSL client policy. If SSL client authentication is required, you must specify a PKI domain and request a local certificate for the SSL client in the PKI domain. For information about how to create and configure a PKI domain, see "Configuring PKI." |
5. Specify the preferred cipher suite for the SSL client policy. | In Release 1111:
In Release 1121 and later:
|
|
6. Specify the SSL protocol version for the SSL client policy. | In Release 1111:
In Release 1121 and later:
| By default, an SSL client policy uses TLS 1.0. To ensure security, do not specify SSL 3.0 for an SSL client policy. |
7. Enable the SSL client to authenticate servers through digital certificates. | server-verify enable | By default, SSL server authentication is enabled. |