1-16
plug-in installation completes, a URL is displayed, which you need to configure on the switch as the URL
of the server for certificate registration.
z
Modify the certificate service attributes
From the start menu, select
Control Panel
>
Administrative Tools
>
Certificate Authority
. If the CA
server and SCEP plug-in have been installed successfully, there should be two certificates issued by
the CA to the RA. Right-click on the CA server in the navigation tree and select
Properties
>
Policy
Module
. Click
Properties
and then select
Follow the settings in the certificate template, if
applicable. Otherwise, automatically issue the certificate
.
z
Modify the Internet Information Services (IIS) attributes
From the start menu, select
Control Panel
>
Administrative Tools
>
Internet Information Services
(IIS) Manager
and then select
Web Sites
from the navigation tree. Right-click on
Default Web Site
and
select
Properties
>
Home Directory
. Specify the path for certificate service in the
Local path
text box.
In addition, you are recommended to specify an available port number as the TCP port number of the
default Web site to avoid conflict with existing services.
After completing the above configuration, check that the system clock of the switch is synchronous to
that of the CA server, ensuring that the switch can request a certificate normally.
2) Configure the switch
z
Configure the entity DN
# Configure the entity name as
aaa
and the common name as
switch
.
<Switch> system-view
[Switch] pki entity aaa
[Switch-pki-entity-aaa] common-name switch
[Switch-pki-entity-aaa] quit
z
Configure the PKI domain
# Create PKI domain
torsa
and enter its view.
[Switch] pki domain torsa
# Configure the name of the trusted CA as
myca
.
[Switch-pki-domain-torsa] ca identifier myca
# Configure the URL of the registration server in the format of http://host:port/ certsrv/mscep/mscep.dll,
where host:port indicates the IP address and port number of the CA server.
[Switch-pki-domain-torsa] certificate request url
http://4.4.4.1:8080/certsrv/mscep/mscep.dll
# Set the registration authority to
RA
.
[Switch-pki-domain-torsa] certificate request from ra
# Specify the entity for certificate request as
aaa
.
[Switch-pki-domain-torsa] certificate request entity aaa
z
Generate a local key pair using RSA
[Switch] 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...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++