Display PKI certificate

Syntax:


display pki certificate <ca|local>

Definitions:

pki

Display PKI information.

certificate

Display certificate configuration information.

ca

CA certificate.

local

Local certificate.

Example:

<Sysname> display pki certificate local
Certificate:
  Data:
    Version: 3 (0x2)
    Serial Number: 10B7D4E3 00010000 0086...
  Issuer:
    emailAddress=myca@aabbcc.net
    C=CN
    ST=Country A
    L=City X
    O=abc
    OU=bjs
    CN=new-ca
Validity
    Not Before:  Jan 13 08:57:21 2004 GMT
    Not After :  Jan 20 09:07:21 2005 GMT
Subject:
    C=CN
    ST=Country B
    L=City Y
    CN=PKI test
Subject Public Key Info:
    Public Key Algorithm:  rsaEncryption
    RSA Public Key:  (512 bit)
    Modulus (512 bit):
     00D41D1F ...
     Exponent:  65537 (0x10001)
    X509v3 extensions:
     X509v3 Subject Alternative Name:
     DNS: hyf.xxyyzz.net
    X509v3 CRL Distribution Points: URI:http://1.1.1.1:447/myca.crl
...            ...
Signature Algorithm: md5WithRSAEncryption
A3A5A447 4D08387D ...

All data needed to display the certificate as shown above comes from the certificate so is available. Note that the X509 extension display values will change depending on what extensions are present in the certificate. When no extensions are present, the “X509v3 extensions:” line is not present.

NOTE:

The X509 extension display values change depending on what extensions are present in the certificate. When no extensions are present, the “X509v3 extensions:” line is not present.