Display Configured Key Pairs

About this task

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Display the names and public keys of all the key-pairs:

    show certificate key-name [WORD<1-64>]

Example

The following output example displays the names and public keys of all the key-pairs.

Switch:1(config)#show certificate key-name 

Key Name: pki_key
Public Key Value: 000000000000000100000001020000000003010001000001009a8d66a1efaeac7bd2a4918ffdda59d8bebfd682b59
4df64ce86df60cac8e81d93d88104e53dfa0e6446fdb91e34b83c3da6d4225ee0615e80e2e3e95c2ec8cac46dba653f2365c6a11c892091
cb1a86746149100bdcb2520e009c400c3fdb9d150735452ec08fb6b56efa23af0414126808b1ea1044740200b49074bafd5b10c9a48ee8b
5f79168a9403f0d33bb1997cf72040ddc43bfefc3343fe75757c6eb6a2cdbea9ddf2b91cac7bf91da9b3f559617587a94ef2cf0dc0d38ff
d9ad7a50991da234c6be8bcfec98f43b41e56704e969e794de9418f672ca6ec0e0451a8d318e704022c723ad7b1171f72203a320b940340
88379128bccb35d2c5e217b19

Key Name: rsa_2048
Public Key Value: 000000000000000100000001020000000003010001000001009e5ffca4e1a22a33cb78ca489dec74e2c71cf5bae54
c97f6e656edf0fc6c547feeb7a6c66bd85b3ee2dceecadc92e4ab92be172b532a992d73fcfe606d292e92516893f591f651cd60443b3829
cb67f656c1d3ab65d46d16ff0a72c18710c84781b477c0830ab36dc304a2c8dcab93bcbf1c724cbb4f24ed7e8dd76944d9c4289dd4a6af8
3c14bd266345ee20c24d610f630f66a74f355367235ade20288d85437a0f72990520f2ffab8ec700a13298e108b4eddcdeedd7eceeef8e6
ea1fdb80db7caa931daff6ab643e93b2a9787c80db8c464946e85a7b8bd01d331ba1dd5302e3c8ec1f0dc56ea845b1f07afda0b476e5fe1
2c36a5c159182b769e800f44b