show crypto pki certificate
Syntax
show crypto pki certificate [<CERT-NAME> [plaintext | pem]]
Description
Shows a list of all configured leaf certificates, or detailed information for a specific leaf certificate.
Command context
config
Parameters
<CERT-NAME>
- Specify the name of a leaf certificate. Range: 1 to 32 alphanumeric characters (excluding ").
plaintext
- Shows certificate information in plain text.
pem
- Shows certificate information in PEM format.
Authority
Administrators
Examples
Showing all configured leaf certificates:
Certificate Name Cert Status Associated Applications -------------------------------- -------------- ------------------------------ local-cert installed https-server, syslog-client my-cert-1 installed none my-cert-2 installed none my-cert-3 installed none
Showing detailed information for the leaf certificate my-cert-1:
switch(config)# show crypto pki certificate my-cert-1 plaintext Certificate Name: my-cert-1 Associated TA Profile: my-root-cert Associated Applications: none Certificate Status: Enrolled Data: Version: 1 (0x0) Serial Number: 14529416756121781768 (0xc9a2db8f3e3f4608) Signature Algorithm: sha256WithRSAEncryption Issuer: OU=DeviceTrust, OU=Operations, O=MySite, C=US, CN=MySite Trusted Computing Root CA 1.0 Validity Not Before: Jan 12 23:36:57 2018 GMT Not After : Nov 1 23:36:57 2020 GMT Subject: C=US, ST=NY, L=NY, O=MyCompany, OU=Unit1, CN=MyCert1 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:a0:cd:ef:1b:f9:b8:bd:39:fc:7a:0e:00:17:ff: 2b:72:d8:4e:d4:df:49:36:ca:3a:f9:05:05:d7:e3: d1:97:29:71:e6:33:b8:bb:8e:f0:ee:a6:e4:4a:f8: 79:a2:83:67:66:db:39:3a:45:18:56:9e:7e:c6:81: d5:cb:7b:89:23:03:e9:6c:ae:fe:42:f1:5b:b2:2b: 81:59:23:bd:ef:77:ce:a9:2d:3a:db:2d:df:54:d0: fe:61:5d:10:b8:43:a6:6d:46:f0:11:9b:e3:71:c4: c2:bf:96:12:91:f3:17:4e:3e:23:ed:68:20:cb:de: a1:6f:82:5a:6e:72:8d:60:bf:00:b9:b7:a4:be:08: 2f:3c:f9:d6:5a:aa:a4:fb:52:21:b7:38:21:70:65: fd:68:21:f5:9a:be:1b:b9:71:55:66:02:94:1a:4a: f5:a5:50:9c:70:03:3b:1f:8b:4b:b6:b1:12:47:e5: 3e:d6:f0:fa:b3:93:c9:ac:4c:dd:b6:93:aa:1a:7b: 59:c5:a8:94:21:2c:f8:43:b4:e3:a7:bb:e8:bd:98: 86:55:64:c0:dd:2d:5e:69:3d:24:98:68:e4:0d:da: fe:dd:d9:a0:af:59:47:25:b4:34:06:af:03:1d:33: 30:c3:85:fe:5c:e7:19:7f:ff:3a:b2:21:b8:e8:ed: 83:09 Exponent: 65537 (0x10001) Signature Algorithm: sha256WithRSAEncryption 39:f6:03:86:03:d9:05:61:39:25:5f:0d:75:cc:05:ae:04:7e: 4c:a3:13:0b:f0:1e:af:68:0e:40:9f:ed:48:b6:5e:56:8c:53: 46:5b:c9:a4:e0:b0:bc:31:4b:a7:5d:0a:ed:7c:9c:f6:bf:1e: c0:c9:4f:50:cc:f6:ff:3e:d1:16:ad:0f:7e:1a:ec:a4:d6:fb: 29:d4:0f:77:ad:a0:7a:d8:0c:d3:aa:db:9b:11:e3:40:4b:48: d1:58:b8:39:8a:90:1e:9f:0a:a6:49:ff:3b:4d:a2:c8:78:15: 8d:62:06:78:54:39:01:4d:e4:87:04:b3:bd:66:9e:69:32:2a: 03:cb:4d:3d:e8:3b:d2:30:fb:27:39:a2:3e:8e:76:57:02:8c: cd:f3:2f:a7:2e:0a:2d:5d:4b:20:df:aa:4e:fc:d7:4c:e7:5a: 10:87:25:1d:70:06:e0:03:53:9d:af:34:8b:83:24:a7:a5:76: 4a:ba:6b:e5:6a:84:e4:de:9c:eb:21:fe:e6:e5:5d:34:dc:64: db:80:71:92:14:2c:e0:3b:a4:16:c5:5c:6e:f5:de:d3:bb:5a: 39:f5:26:58:68:e2:13:ec:94:ac:60:8e:4b:b0:ba:45:cf:d6: 6a:4b:9f:7d:ae:3f:e5:2e:81:fe:ac:b3:65:44:35:47:a5:2f: 89:e7:58:a0