cert-show

This command is used to display certificate information.

Syntax   cert-show [cert-type ca|intermediate|server subject] [subject-string issuer issuer-string] [serial-number serial-number-number] [valid-from valid-from-string] [valid-to valid-to-string] [country country-string] [state state-string] [city city-string] [organization organization-strings] [organizational-unit organizational-unit-string] [common-name common-name-string] name name-string container zone|name

cert-type ca|intermediate|server

Specifies the type of certificate: CA, intermediate or server.

subject subject-string

Specifies the certificate subject.

issuer issuer-string

Specifies the issuer of the certificate.

serial-number serial-number-number

Specifies the serial number of the certificate.

valid-from valid-from-string

Specifies the time from which the certificate is valid.

valid-to valid-to-string

Specifies the time at which the certificate expires and is no longer valid.

country country-string

Specifies the country name (2 letter code).

state state-string

Specifies the state or province name.

city city-string

Specifies the city name.

organization organization-strings

Specifies the organization name.

organizational-unit organizational-unit-string

Specifies the organization name.

common-name common-name-string

Specifies the common name.

name name-string

Specifies the certificate name.

container zone name

Specifies the certificate zone or container name.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None

Access   CLI

History   Command introduced in Version 2.5.4.

Usage   You can display all or specific information for a particular certificate.

Examples  To display certificate information, use the following command:

cert-show

switch:              switch1

name:                myswitch1

container:           vpod1-mgr

country:             US

state:               California

city:                Palo Alto

organization:        Pluribus Networks Inc

organizational-unit: Engineering

common-name:         myswitch1

cert-type:           server

subject:             /C=US/ST=California/L=Palo Alto/O=Pluribus Networks Inc/OU=Engineering/CN=myswitch1

issuer:              /C=US/ST=California/L=Palo Alto/O=Pluribus Networks Inc/OU=Engineering/CN=Pluribus Networks Test CA 2k-sha-256/emailAddress=example@pluribusnetworks.com

serial-number:       2

valid-from:          Apr 20 18:28:45 2017 GMT

valid-to:            Apr 20 18:28:45 2018 GMT

See Also   

cert-create

cert-delete

cert-import

cert-request-create

cert-request-show