S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
34-15
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 34 Configuring Certificate Authorities and Digital Certificates
Example Configurations
Deleting RSA Key-Pairs from Your Switch
Under certain circumstances you may want to delete your switch’s RSA key-pairs. For example, if you
believe the RSA key-pairs were compromised in some way and should no longer be used, you should
delete the key-pairs.
To delete RSA key-pairs from your switch, follow these steps:
Note
After you delete RSA key-pairs from a switch, ask the CA administrator to revoke your switch’s
certificates at the CA. You must supply the challenge password you created when you originally
requested the certificates. See
“Generating Certificate Requests” section on page 34-10
.
Displaying Key-Pair and CA Information
To view key-pair and CA information, use the following commands in EXEC mode:
Example Configurations
This section shows an example of the tasks you can use to configure certificates and CRLs on the Cisco
MDS 9000 Family switches using the Microsoft Windows Certificate server.
This section includes the following topics:
•
Configuring Certificates on the MDS Switch, page 34-16
•
Downloading a CA Certificate, page 34-19
•
Requesting an Identity Certificate, page 34-23
•
Revoking a Certificate, page 34-29
•
Generating and Publishing the CRL, page 34-32
Command
Purpose
Step 1
switch#
config terminal
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
crypto key zeroize rsa MyKey
Deletes the RSA key-pair whose label is
MyKey.
Step 3
switch(config)#
end
switch#
Returns to EXEC mode.
Step 4
switch#
copy running-config startup-config
Copies the running configuration to the
startup configuration to ensure the
configuration is persistent across reboots.
Command
Purpose
switch#
show crypto key mypubkey rsa
Displays information about the switch’s RSA public
keys.
switch#
show crypto ca certificates
Displays information on CA and identity certificates.
switch#
show crypto ca crl
Displays information about CA CRLs.
switch#
show crypto ca trustpoints
Displays information about CA trust points.