lssystemcert

Use the lssystemcert command to list information about the current system Secure Sockets Layer (SSL) certificate.

Syntax

lssystemcert [ -nohdr ] [ -delimdelimiter ]

Parameters

-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-delimdelimiter
(Optional) By default, in a concise view all columns of data are space-separated, with the width of each column set to the maximum width of each item of data. In a detailed view, each item of data is an individual row, and if you display headers, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a 1-byte character. Enter -delim : on the command line, and the colon character (:) separates all items of data in a concise view (for example, the spacing of columns does not occur); in a detailed view, the specified delimiter separates the data from its header.

Description

This command lists information about the current system Secure Sockets Layer (SSL) certificate and indicates if there is an outstanding certificate request.

lssystemcert output provides the attribute values that can be displayed as output view data.
Table 1. lssystemcert output
Attribute Possible Values
certificate Indicates a readable version of the current SSL certificate.
certificate export Indicates an encoded version of the SSL certificate.
certificate_request_outstanding Indicates that there is an unfinished certificate request (if the value is yes) and installs a signed certificate. The value is yes or no.

An invocation example

lssystemcert

The detailed resulting output:

certificate: 58 fields
    Data:
        Version: 3 (0x2)
        Serial Number: 1431938814 (0x5559a6fe)
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: C=US, L=Springfield, O=TMI, OU=ABC, CN=2154/emailAddress=chili@snpp.com
        Validity
            Not Before: May 18 08:46:54 2015 GMT
            Not After : May 14 08:46:54 2030 GMT
        Subject: C=US, L=Springfield, O=TMI, OU=ABC, CN=2154/emailAddress=chili@snpp.com
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:
                    00:de:1c:70:c2:91:87:3c:6a:92:91:f7:d9:a3:5b:
                    05:e6:91:f1:87:c1:25:38:61:ad:4d:d9:26:19:7b:
                    9e:61:a5:fd:b1:d1:eb:d1:e4:a8:78:21:75:58:80:
                    4a:5c:dd:5e:6c:8b:1b:de:57:f9:d5:1f:71:92:3e:
                    78:d5:a4:75:1e:11:b2:62:18:52:0f:4d:32:a8:fd:
                    2b:16:4f:42:d1:d6:70:af:86:eb:fe:a1:ab:bc:66:
                    8a:44:bc:e0:36:53:77:96:2f:74:7d:95:33:79:c2:
                    59:5e:e1:43:50:da:43:25:c4:5d:3a:ac:d7:82:ad:
                    34:d5:ba:4c:52:4a:c0:81:3a:ad:e8:33:fe:4f:be:
                    e8:47:fa:5b:1f:dd:d8:9e:3b:44:a6:b6:b9:43:d2:
                    d4:45:8e:cb:5b:bb:10:5b:c9:30:68:2c:30:b6:e4:
                    ea:59:6d:a2:37:a7:13:77:28:1d:13:68:58:7b:dd:
                    90:d6:a8:81:7b:79:9f:1e:e4:a7:67:1b:7b:c5:b4:
                    90:dc:6b:d4:1f:7e:e9:e3:7b:ac:26:59:11:f1:99:
                    34:f0:6a:50:41:76:ad:a3:30:74:8f:8f:f5:ed:1e:
                    21:77:ff:51:90:1b:83:fb:04:f0:62:3d:71:17:a5:
                    ab:44:e8:bc:b0:82:0d:af:af:ae:68:5a:cf:e3:c8:
                    a9:53
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Basic Constraints: 
                CA:FALSE
            Netscape Comment: 
                OpenSSL Generated Certificate
            X509v3 Subject Key Identifier: 
                87:66:33:16:61:7A:8E:CA:B4:BA:78:7B:56:56:8A:9D:C5:96:80:76
            X509v3 Authority Key Identifier: 
                keyid:87:66:33:16:61:7A:8E:CA:B4:BA:78:7B:56:56:8A:9D:C5:96:80:76

    Signature Algorithm: sha256WithRSAEncryption
         56:b1:5d:59:11:ae:7b:6e:29:cc:1f:a8:75:77:d2:65:d6:88:
         75:8e:b9:cd:d6:71:ac:7e:89:8c:65:68:36:a8:28:97:88:36:
         42:da:a4:58:9b:c6:ce:c1:56:c9:0e:c5:ce:e7:01:74:d0:66:
         d0:4d:d3:0f:84:53:f6:e5:89:8e:44:6d:70:13:45:9c:21:91:
         50:f4:b0:b7:cc:cb:18:e8:d7:b3:38:b4:f5:5d:36:51:8c:7e:
         52:d4:24:0f:1f:2e:0a:b4:b6:9b:cb:23:43:6c:16:a2:a5:de:
         84:8a:0d:28:3c:d9:3d:5d:a4:52:44:28:90:98:a6:26:a9:c9:
         87:6c:27:3f:ef:09:5f:9d:0b:40:8d:07:64:ee:33:d9:40:47:
         98:02:10:58:2b:54:33:d9:37:69:d4:13:e6:0d:ec:46:26:b1:
         c1:c5:15:7c:8d:89:26:f7:95:d9:2f:d9:33:8c:f0:1a:dc:08:
         19:eb:18:16:51:30:a3:c0:ee:be:86:7d:3d:91:61:d5:99:bf:
         5e:19:b9:89:72:e1:4c:ea:5e:2b:90:ce:ce:75:83:e0:c9:14:
         83:21:21:e0:f8:28:94:90:71:e6:13:ca:97:8c:e3:58:b9:0c:
         62:03:e5:1c:1b:6c:dd:c3:60:48:d4:78:24:8e:22:34:78:32:
         fe:45:ee:36
certificate_export: 23 fields
-----BEGIN CERTIFICATE-----
MIIDzTCCArWgAwIBAgIEVVmm/jANBgkqhkiG9w0BAQsFADBqMQswCQYDVQQGEwJH
QjEQMA4GA1UEBwwHSHVyc2xleTEMMAoGA1UECgwDSUJNMQwwCgYDVQQLDANTU0cx
DTALBgNVBAMMBDIxNDUxHjAcBgkqhkiG9w0BCQEWD3N1cHBvcnRAaWJtLmNvbTAe
Fw0xNTA1MTgwODQ2NTRaFw0zMDA1MTQwODQ2NTRaMGoxCzAJBgNVBAYTAkdCMRAw
DgYDVQQHDAdIdXJzbGV5MQwwCgYDVQQKDANJQk0xDDAKBgNVBAsMA1NTRzENMAsG
A1UEAwwEMjE0NTEeMBwGCSqGSIb3DQEJARYPc3VwcG9ydEBpYm0uY29tMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3hxwwpGHPGqSkffZo1sF5pHxh8El
OGGtTdkmGXueYaX9sdHr0eSoeCF1WIBKXN1ebIsb3lf51R9xkj541aR1HhGyYhhS
D00yqP0rFk9C0dZwr4br/qGrvGaKRLzgNlN3li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