231
In this example, you must configure these basic attributes on the CA server at first:
•
Nickname
—Name of the trusted CA.
•
Subject DN
—DN information of the CA, including the CN, OU, O, and C.
The other attributes might be left using the default values.
# Configure extended attributes.
After configuring the basic attributes, you must perform configuration on the jurisdiction configuration
page of the CA server. This includes selecting the proper extension profiles, enabling the SCEP
autovetting function, and adding the IP address list for SCEP autovetting.
# Configure the CRL distribution behavior.
After completing the configuration, you must perform CRL related configurations. In this example, select
the local CRL distribution mode of HTTP, and set the HTTP URL to http://4.4.4.133:447/myca.crl.
After the configuration, make sure that the system clock of the router is synchronous to that of the CA, so
that the router can request certificates and retrieve CRLs properly.
2.
Configure the router.
•
Configure the entity DN.
# Configure the entity name as
aaa
and the common name as
router
.
<Router> system-view
[Router] pki entity aaa
[Router-pki-entity-aaa] common-name router
[Router-pki-entity-aaa] quit
•
Configure the PKI domain.
# Create PKI domain
torsa
and enter its view.
[Router] pki domain torsa
# Configure the name of the trusted CA as
myca
.
[Router-pki-domain-torsa] ca identifier myca
# Configure the URL of the registration server in the format of http://host:port/Issuing Jurisdiction ID,
where Issuing Jurisdiction ID is a hexadecimal string generated on the CA server.
[Router-pki-domain-torsa] certificate request url
http://4.4.4.133:446/c95e970f632d27be5e8cbf80e971d9c4a9a93337
# Set the registration authority to
CA
.
[Router-pki-domain-torsa] certificate request from ca
# Specify the entity for certificate request as
aaa
.
[Router-pki-domain-torsa] certificate request entity aaa
# Configure the URL for the CRL distribution point.
[Router-pki-domain-torsa] crl url http://4.4.4.133:447/myca.crl
[Router-pki-domain-torsa] quit