Enabling PKI Logging

Follow these steps to configure PKI logging or PKI extended logging.
  1. To configure PKI logging of events, enter the following commands.
    device# configure terminal
    device(config)# logging enable pki
    
  2. To configure PKI extended logging, including information on both events and PKI packets, enter the following commands.
    device# configure terminal
    device(config)# logging enable pki-extended
    
  3. Enter the show pki logging-statistics command to display PKI counters and statistics as shown in the following example.
    device# show pki logging-statistics
    ------------------------PKI logging statistics-------------------------------
    Type of packet:                     |     TX_PACKETS     |     RX_PACKETS
    ------------------------------------|--------------------|------------------
    enrollment packets:                 |       0            |       0
    authentication packets:             |       1            |       1
    revocation check packets:           |     116            |       0
    peer certificate download packets:  |       0            |       0
    certificate imports through http:   |       0            |       0
    Note:enrollment packets can be 2x of actual enrollments depends on server settings