show command for crypto key

Answered Question
Sep 15th, 2008

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

I have this problem too.
0 votes

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 ;)

Correct Answer by jjohnston1127 about 8 years 2 months ago

show crypto key mypubkey rsa

Please rate the post if it is helpful. Thanks.

Correct Answer by Mark Yeates about 8 years 2 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Correct Answer
Mark Yeates Mon, 09/15/2008 - 15:40

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

Correct Answer
jjohnston1127 Thu, 09/18/2008 - 12:03

show crypto key mypubkey rsa

Please rate the post if it is helpful. Thanks.

Correct Answer

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 ;)

Actions

This Discussion