288
Figure 87 Network diagram
Configuration procedure
1.
Create PKI domain
domain1
to be used by SSL. (Details not shown.)
2.
Request an SSL server certificate for the device from the CA server. (Details not shown.)
3.
Configure the HTTPS server:
# Configure an SSL server policy named
abc
.
<Device> system-view
[Device] ssl server-policy abc
[Device-ssl-server-policy-abc] pki-domain domain1
[Device-ssl-server-policy-abc] client-verify enable
[Device-ssl-server-policy-abc] quit
# Apply SSL server policy
abc
to the HTTPS server.
[Device] ip https ssl-server-policy abc
# Enable the HTTPS server.
[Device] ip https enable
4.
Configure certificate attribute groups:
# Create a certificate attribute group named
mygroup1
and add two attribute rules. The first
rule defines that the DN in the subject DN contains the string of
aabbcc
. The second rule
defines that the IP address of the certificate issuer is
10.0.0.1
.
[Device] pki certificate attribute-group mygroup1
[Device-pki-cert-attribute-group-mygroup1] attribute 1 subject-name dn ctn aabbcc
[Device-pki-cert-attribute-group-mygroup1] attribute 2 issuer-name ip equ 10.0.0.1
[Device-pki-cert-attribute-group-mygroup1] quit
# Create a certificate attribute group named
mygroup2
and add two attribute rules. The first
rule defines that the FQDN in the alternative subject name does not contain the string of
apple
.
The second rule defines that the DN of the certificate issuer name contains the string of
aabbcc
.
[Device] pki certificate attribute-group mygroup2
[Device-pki-cert-attribute-group-mygroup2] attribute 1 alt-subject-name fqdn nctn
apple
[Device-pki-cert-attribute-group-mygroup2] attribute 2 issuer-name dn ctn aabbcc
[Device-pki-cert-attribute-group-mygroup2] quit
5.
Configure a certificate-based access control policy:
# Create a certificate-based access control policy named
myacp
.
[Device] pki certificate access-control-policy myacp
# Define a statement to deny the certificates that match the attribute rules in certificate attribute
group
mygroup1
.
[Device-pki-cert-acp-myacp] rule 1 deny mygroup1
Содержание FlexFabric 5940 SERIES
Страница 251: ...238 ...