224 Controlling Management Access
<CTRL + Z> Exit to Privileged EXEC mode.
crypto certificate 
number 
request
Generate and display a certificate request for HTTPS. This 
command takes you to Crypto Certificate Request mode.
In this mode, you can use the following commands to 
specify certificate details:
• common-name
• country 
•email
•location 
• organization-name
• organization-unit
•unit
•state
exit Exit to Privileged EXEC mode.
configure Enter Global Configuration mode.
crypto certificate 
number
 import
Import the certificate into the switch by pasting an 
external certificate (signed by the Certification Authority) 
to the switch. To end the session, add a period (.) on a 
separate line after the input, and press ENTER. This 
certificate replaces the self-signed certificate.
If the public key found in the certificate does not match 
the switch's SSL RSA key, the command fails.
ip http secure-certificate 
number
Specify the active certificate for HTTPS.
ip http secure-server Allow access to the switch management interface by using 
HTTPS, which is disabled by default. 
exit Exit to Privileged EXEC mode.
Command Purpose