43
823
•
rsa—Displays the RSA key.
•
dsa—Displays the DSA key.
Default Configuration
N/A
Command Mode
Privileged EXEC mode
User Guidelines
See Keys and Certificates for information on how to display and copy this key pair.
Example
The following example displays the SSH public DSA keys on the device.
switchxxxxxx#
show crypto key mypubkey dsa
---- BEGIN SSH2 PUBLIC KEY ----
Comment: RSA Public Key
AAAAB3NzaC1yc2EAAAABIwAAAIEAzN31fu56KSEOZdrGVPIJHpAs8G8NDIkB
dqZ2q0QPiKCnLPw0Xsk9tTVKaHZQ5jJbXn81QZpolaPLJIIH3B1cc96D7IFf
VkbPbMRbz24dpuWmPVVLUlQy5nCKdDCui5KKVD6zj3gpuhLhMJor7AjAAu5e
BrIi2IuwMVJuak5M098=
---- END SSH2 PUBLIC KEY ----
Public Key Fingerprint: 6f:93:ca:01:89:6a:de:6e:ee:c5:18:82:b2:10:bc:1e
43.5 crypto certificate generate
The crypto certificate generate Global Configuration mode command generates a
self-signed certificate for HTTPS.
Syntax
number
crypto certificate
organization-unit
] [or
days
]
generate [key-generate [
organization
location
] [loc
OL-32830-01 Command Line Interface Reference Guide
RSA and Certificate Commands
length
common- name
]] [cn
state
country
] [st
] [cu
] [ou
] [duration