The display ssl policy command displays the Secure Sockets Layer (SSL) policy configuration.
Parameter | Description | Value |
---|---|---|
policyName |
Specifies the name of an SSL policy. If no SSL policy is specified, the configurations of all SSL policies will be displayed. |
The value is a string of 1 to 23 case-insensitive characters, containing letters, digits, and underscores (_), spaces not supported. |
After loading SSL policies and certificates, you can run the display ssl policy command to view the configurations, including the SSL policy name, service to which an SSL policy is applied, certificate name, and certificate type. The command output shows whether the SSL policies and certificates are available.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ssl policy policy1
SSL Policy Name: policy1
Policy Applicants: HTTP-CLIENT
Key-pair Type: DSA
Certificate File Type: PEM
Certificate Type: certificate
Certificate Filename: a_servercertchain2_pem_dsa.pem
Key-file Filename: a_serverkeychain2_pem_dsa.pem
auth-code: ******
MAC: ******
Issuer name: huawei
Subject name: server
Validity Not Before: 2008-08-04 08:24:16Z
Validity Not After: 2018-08-02 08:24:16Z
CRL File:
Trusted-CA File:
Item | Description |
---|---|
SSL Policy Name | Name of an SSL policy. |
Policy Applicants | Service to which an SSL policy is applied. Currently, SSL policies can be applied to HTTP services. |
Key-pair Type | Key pair type:
To ensure high security, do not use the RSA key pair whose length is less than 2048 digits. |
Certificate File Type | Certificate format:
|
Certificate Type | Certificate type:
|
Certificate Filename | Name of a certificate. |
Key-file Filename | Name of a key pair file. |
Issuer name | Name of the certificate issuer. |
Subject name | Subject name of the certificate user. |
Validity Not Before | Start Time of Validity Period. |
Validity Not After | End Time of Validity Period. |
CRL File | CRL File. |
Trusted-CA File | Trusted-CA file. |
auth-code | Authentication code of the key pair file. |
MAC | Message authentication code. |