Command
show crypto key pubkey-
chain ssh [username
username
] [fingerprint
bubble-babble|hex]
show crypto key
mypubkey [rsa|dsa]
Configuring HTTP and HTTPS Access
Beginning in Privileged EXEC mode, use the following commands to specify
HTTP and HTTPS server settings on the switch.
Command
configure
ip http server
crypto certificate
number
generate
common-name
name
country
days
duration
email_address
email
length
key-generate
name
location
organization-name
name
organization-unit
name
state
226
Controlling Management Access
Purpose
View SSH public keys stored on the switch.
username
•
(Range: 1–48 characters)
• bubble-babble — Fingerprints in Bubble Babble format.
• hex — Fingerprint in Hex format. If fingerprint is
unspecified, it defaults to Hex format.
View the SSH public keys of the switch.
Purpose
Enter Global Configuration mode.
Enable HTTP access to the switch (enabled by default).
Generate a self-signed HTTPS certificate and enter into
Crypto Certificate Generation mode.
number
•
name
Specifies the common name.
Specifies the country name.
Specifies number of days a self-signed certification would
be valid. If unspecified defaults to 365 day.
Specifies the contact email address.
Specify the length of the SSL's RSA key. If unspecified,
length defaults to 1024.
Specifies the location or city name.
Specifies the organization name
name
Specifies the organization internal unit
Specifies the state or province name.
— Specifies the remote SSH client username.
— Specifies the certificate number. (Range: 1–2)