09-15-2008 02:54 PM - edited 03-09-2019 09:29 PM
al,
what is the command to see what rsa bit level or if crypto key was configured on the router
Router(config)#crypto key generate rsa
Solved! Go to Solution.
09-15-2008 03:40 PM
John,
I don't recall a command that shows the crypto key bit size. You can view the configured key by issuing the "show crypto key mypubkey rsa" command. If you are unsure about the size of the key you can always create a new one to the size that you want.
HTH,
Mark
09-18-2008 12:03 PM
show crypto key mypubkey rsa
Please rate the post if it is helpful. Thanks.
09-27-2008 02:49 AM
Piece of cake!
show crypto key my rsa
Key Data:
30819F30 0D06092A 864886F7 0D010101 05000381 8D003081 89028181 00D234A6
8ED64AAD 8AA2CBA7 B9C49A93 A5B087F9 DC41352B 38511F8C C010CBEB BBB5EB09
1AF4FA7B C9C53DD7 882EB9AD 42156F25 F93335DD 51AF7260 4FD49E0C C161CBF9
8829110B B9DFF4CA 62148238 19CCF83B 4BE0FED9 59992C7D 2EE00A1F 0D108EC6
21CA83AD 51F8A632 7E0B7FC4 BA70E9BA 7EE40208 E70FEDEA 99C55893 45020301 0001
ASN.1 DER-coded PKCS#1:
- 30819F30 - sequence
- 0609 - OID
- 2A 864886F7 0D010101 - RSA encryption
- 0500 - null
- 0381 8D003081 89028181 00 - crap
- D2...45 - public modulus (1024 bits in this case - just count bytes :)))
- 02 - integer
- 03 - exponent length
- 010001 - public exponent 65537)
Cool?
Rate if it is ;)
09-15-2008 03:40 PM
John,
I don't recall a command that shows the crypto key bit size. You can view the configured key by issuing the "show crypto key mypubkey rsa" command. If you are unsure about the size of the key you can always create a new one to the size that you want.
HTH,
Mark
09-18-2008 12:03 PM
show crypto key mypubkey rsa
Please rate the post if it is helpful. Thanks.
09-27-2008 02:49 AM
Piece of cake!
show crypto key my rsa
Key Data:
30819F30 0D06092A 864886F7 0D010101 05000381 8D003081 89028181 00D234A6
8ED64AAD 8AA2CBA7 B9C49A93 A5B087F9 DC41352B 38511F8C C010CBEB BBB5EB09
1AF4FA7B C9C53DD7 882EB9AD 42156F25 F93335DD 51AF7260 4FD49E0C C161CBF9
8829110B B9DFF4CA 62148238 19CCF83B 4BE0FED9 59992C7D 2EE00A1F 0D108EC6
21CA83AD 51F8A632 7E0B7FC4 BA70E9BA 7EE40208 E70FEDEA 99C55893 45020301 0001
ASN.1 DER-coded PKCS#1:
- 30819F30 - sequence
- 0609 - OID
- 2A 864886F7 0D010101 - RSA encryption
- 0500 - null
- 0381 8D003081 89028181 00 - crap
- D2...45 - public modulus (1024 bits in this case - just count bytes :)))
- 02 - integer
- 03 - exponent length
- 010001 - public exponent 65537)
Cool?
Rate if it is ;)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide