Skip to main content

Describe certificate

To describe the certificate details for the specified certificate ID:

smctl cert describe <flag>

or

smctl cert desc <flag>
tabel 1. Flags for describing a certificate

Shortcut

Flag

Description

--cert-hash-alg string

The certificate hash algorithm types are SHA1, SHA256, SHA384 or SHA512. The default algorithm type is SHA1. 

Format:

--cert-hash-alg="<value>"

--cert-hash-encoding string

The certificate hash encoding types are HEX or BASE64. The default encoding type is HEX. 

Format:

--cert-hash-encoding="<value>"

--account-id string

Account ID for the user. 

Format:

--account-id="<value>"

-h

--help

Help for describe certificate.


Examples

Description: Describe the certificate with the provided certificate ID.

Command: 

smctl certificate describe <certificate-id>

Command sample: 

smctl certificate desc 7747527b-6cc0-4ccf-8099-a6df1bf90bc14

Description: Describe the certificate with the provided certificate ID and hash and display the fingerprint with SHA-256.

Command: 

smctl certificate describe <certificate-id> --cert-hash-alg="<algorithm>"

Command sample: 

smctl certificate desc 7747527b-6cc0-4ccf-8099-a6df1bf90bc14 --cert-hash-alg=“SHA256”