show services ssl certificate
Syntax
show services ssl certificate [all | brief | detail] <pic-info fpc-slot slot number pic-slot slot-number>
Description
Display information about the SSL certificates available on the device.
When the CLI is in logical system context mode and you enter an operational-mode command, the output of the command displays information related to the logical system only.
Options
all | Display information about all SSL certificates. |
brief | Display brief information about SSL certificate. |
detail | Display detail information about SSL certificates. |
pic-info fpc-slot slot number pic-slot slot-number | Display the information for the FPC in the specified slot. |
Required Privilege Level
view
Output Fields
Table 1 lists
the output fields for the show services ssl certificate
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
Level of Output |
---|---|---|
|
Name of the local digital certificate. |
all, brief, detail |
|
Type of certificate. That is—Signing certificate (LOCAL-CERT) which is used to sign other certificates or it is CA-CERT used to verify other certificates in context of SSL-proxy. |
brief, detail |
|
Indicates the time when the certificate data was last modified. |
detail |
|
Indicates the time when the certificate key was last modified (displayed in local certificate only). |
detail |
|
Version of the digital certificate. |
detail |
|
Unique serial number of the digital certificate. |
detail |
|
Authority that issued the digital certificate, including details of the authority organized using the distinguished name format. Possible subfields are:
|
brief, detail |
|
Details of the digital certificate holder organized using the distinguished name format. Possible subfields are:
|
brief, detail |
|
Validity of the certificate (displayed in local certificate only). It includes:
|
detail |
|
Encryption algorithm used with the private key, such
as |
brief, detail |
|
Encryption algorithm that the CA used to sign the digital
certificate, such as |
detail |
|
Certificate revocation list related information (displayed for CA certificates only). It includes:
|
detail |
Sample Outputs
- show services ssl certificate all
- command-name
- command-name
- show services ssl certificate detail (Local Certificate)
- show services ssl certificate detail (CA Certificate)
show services ssl certificate all
user@host >
show services ssl certificate all
Lsys Name : root-logical-system
PIC:fwdd0 fpc[0] pic[0] ------
CertId
-----------------------------
ssl-inspect-ca
ssl-cert-4k
command-name
user@host >
show services ssl certificate brief certificate-id
Lsys Name : root-logical-system
PIC:fpc0 fpc[0] pic[0] ------
CertID : trusted-ca
Certificate Type : CA-CERT
Issuer : /C=IN/ST=KA/L=BNG/O=XYZ/OU=ABC/CN=5.0.0.1/emailAddress=newca@test.com
Subject : /C=IN/ST=KA/L=BNG/O=XYZ/OU=ABC/CN=5.0.0.1/emailAddress=newca@test.com
Public Key algorithm : rsaEncryption
command-name
user@host>
show services ssl certificate brief certificate-id ssl-inspect-ca
Lsys Name : root-logical-system
PIC:fpc0 fpc[0] pic[0] ------
CertID : ssl-inspect-ca
Certificate Type : LOCAL-CERT
Issuer : /DC=dc/CN=xyz.com/OU=IT/O=abc/L=bng/ST=KA/C=IN
Subject : /DC=dc/CN=xyz.com/OU=IT/O=abc/L=bng/ST=KAC=IN
Validity :
Not before : Mon 02/18/2019 07:30:37 AM
Not after : Sat 02/17/2024 07:30:37 AM
Public Key algorithm : rsaEncryption
show services ssl certificate detail (Local Certificate)
user@host >
show services ssl certificate detail
Lsys Name : root-logical-system
PIC:fpc0 fpc[0] pic[0] ------
CertID : ssl-inspect-ca
Certificate Type : LOCAL-CERT
cert modify time : Mon 02/18/2019 07:30:37 AM
key modify time : Mon 02/18/2019 07:30:23 AM
certificate version : 3
serial number : 72 a4 a8 12 0e a0 da 5f ee 27 47 d8 19 7c 76 b5
Issuer : /DC=dc/CN=XYZ.com/OU=IT/O=jnpr/L=bng/ST=KA/C=IN
Subject : /DC=dc/CN=XYZ.com/OU=IT/O=jnpr/L=bng/ST=KA/C=IN
Validity :
Not before : Mon 02/18/2019 07:30:37 AM
Not after : Sat 02/17/2024 07:30:37 AM
Public Key algorithm : rsaEncryption
Signature Algorithm : sha256WithRSAEncryption
show services ssl certificate detail (CA Certificate)
user@host >
show services ssl certificate detail
Lsys Name : root-logical-system
PIC:fpc0 fpc[0] pic[0] ------
CertID : test
Certificate Type : CA-CERT
cert modify time : Mon 09/02/2019 09:47:48 PM
certificate version : 1
serial number : 21 a8 d6 00 eb 24 1f 78 9a e5 0e ec 6a 39 ce 65 66 42 8c 0a
Issuer : /C=IN/ST=KA/L=BLR/O=XYZ.com/OU=IT/CN=5.0.0.1/emailAddress=newca@test.com
Subject : /C=IN/ST=KA/L=BLR/O=XYZ.con/OU=IT/CN=5.0.0.1/emailAddress=newca@test.com
Public Key algorithm : rsaEncryption
Signature Algorithm : sha256WithRSAEncryption
CRL :
present : no
check : enabled
download-failed : true
check-on-download-fail : enabled
Release Information
Command introduced in Junos OS Release 19.3R1.