159
After the configuration, make sure that the system clock of the switch is synchronous to that of the CA, so
that the switch can request certificates and retrieve CRLs properly.
2.
Configure the switch.
•
Configure the entity DN.
# Configure the entity name as
aaa
and the common name as
device
.
<Device> system-view
[Device] pki entity aaa
[Device-pki-entity-aaa] common-name device
[Device-pki-entity-aaa] quit
•
Configure the PKI domain.
# Create PKI domain
torsa
and enter its view.
[Device] pki domain torsa
# Configure the name of the trusted CA as
myca
.
[Device-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.
[Device-pki-domain-torsa] certificate request url
http://4.4.4.133:446/c95e970f632d27be5e8cbf80e971d9c4a9a93337
# Set the registration authority to
CA
.
[Device-pki-domain-torsa] certificate request from ca
# Specify the entity for certificate request as
aaa
.
[Device-pki-domain-torsa] certificate request entity aaa
# Configure the URL for the CRL distribution point.
[Device-pki-domain-torsa] crl url http://4.4.4.133:447/myca.crl
[Device-pki-domain-torsa] quit
•
Generate a local key pair using RSA.
[Device] public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits in the modulus [default = 1024]:
Generating Keys...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++
•
Apply for certificates.
# Retrieve the CA certificate and save it locally.
[Device] pki retrieval-certificate ca domain torsa
Retrieving CA/RA certificates. Please wait a while......
The trusted CA's finger print is:
MD5 fingerprint:EDE9 0394 A273 B61A F1B3 0072 A0B1 F9AB
Содержание A5830 Series
Страница 207: ...199 Figure 62 SFTP client interface ...