RSA and Certificate Commands
185
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\RSA_and_Certificates.fm
D E L L CO N F I D E N T I A L – P R E L I MI N A RY 5/ 1 5 /1 2 - F O R PR O O F O N LY
Parameters
•
rsa
—Displays the RSA key.
•
dsa
—Displays the DSA key.
Command Mode
Privileged EXEC mode
Example
The following example displays the SSH public RSA keys on the device.
Console#
show crypto key mypubkey rsa
RSA key data:
005C300D 06092A86 4886F70D 01010105 00034B00 30480241 00C5E23B 55D6AB22
04AEF1BA A54028A6 9ACC01C5 129D99E4 64CAB820 847EDAD9 DF0B4E4C 73A05DD2
BD62A8A9 FA603DD2 E2A8A6F8 98F76E28 D58AD221 B583D7A4 71020301 87685768
Fingerprint(Hex): 77:C7:19:85:98:19:27:96:C9:CC:83:C5:78:89:F8:86
Fingerprint(Bubble Babble): yteriuwt jgkljhglk yewiury hdskjfryt
gfhkjglk
crypto certificate generate
The
crypto certificate generate
Global Configuration mode command
generates a self-signed certificate for HTTPS.
Syntax
crypto certificate
number
generate
[key-generate [length]] [passphrase
string] [cn common- name] [ou organization-unit] [or organization] [loc
location] [st state] [cu country] [duration days
]
Parameters
•
number
—Specifies the certificate number. (Range: 1–2)
•
key-generate
—Regenerates SSL RSA key.
•
length
—Specifies the SSL's RSA key length. (Range: 512–2048)
•
passphrase
string
—Specifies the passphrase used for exporting the
certificate in PKCS12 file format. (Length: 8–96 characters)