Configuring an SSL server policy
An SSL server policy is a set of SSL parameters used by the SSL server. An SSL server policy takes effect only after it is associated with an application such as HTTPS.
SSL protocol versions include SSL 2.0, SSL 3.0, TLS 1.0, TLS 1.1, and TLS 1.2. By default:
In Release 1111, the SSL server can communicate with clients running SSL 3.0 and TLS 1.0. When the server receives an SSL 2.0 Client Hello message from a client, it notifies the client to use SSL 3.0 or TLS 1.0 for communication.
In Release 1121 and later, the SSL server can communicate with clients running all SSL protocol versions. When the server receives an SSL 2.0 Client Hello message from a client, it notifies the client to use a later version for communication.
You can disable specific SSL protocol versions on the device to enhance system security.
To configure an SSL server policy:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. (Optional.) Disable specific SSL protocol versions on the device. | In Release 1111:ssl version ssl3.0 disable In Release 1121 and later:
| In Release 1111, SSL 3.0 is enabled on the device by default. In Release 1121 and later, the default setting is as follows:
|
3. (Optional.) Disable SSL session renegotiation. | ssl renegotiation disable | By default, SSL session renegotiation is enabled. This command is available in Release 1121 and later. |
4. Create an SSL server policy and enter its view. | ssl server-policy policy-name | By default, no SSL server policies exist on the device. |
5. (Optional.) Specify a PKI domain for the SSL server policy. | pki-domain domain-name | By default, no PKI domain is specified for an SSL server policy. If SSL server authentication is required, you must specify a PKI domain and request a local certificate for the SSL server in the domain. For information about how to create and configure a PKI domain, see "Configuring PKI." |
6. Specify the cipher suites that the SSL server policy supports. | In Release 1111:
In Release 1121 and later:
| By default, an SSL server policy supports all cipher suites. |
7. Set the maximum number of sessions that the SSL server can cache. | session cachesize size | By default, an SSL server can cache a maximum of 500 sessions. |
8. Enable the SSL server to authenticate SSL clients through digital certificates. | client-verify enable | By default, SSL client authentication is disabled. |