Home >

Utilities Reference Guide > VTL > vtl examineCert

vtl examineCert

Name

 vtl examineCert - Certificate details for this client

Syntax

vtl examineCert [-f <filespec-of-serverCert.pem>] [-h]

Description

Displays the details of the specified certificate. If the command is issued with no additional parameters, it returns the client certificate.  If the -f option is used, then a filespec is required, and the command returns the details of the indicated certificate.

Options

-f  [optional] Requires the filespec to the certificate file (usually a servercert). The server cert files are located in the cert/server (or cert\server) directory, and are of the form “nameCert.pem”, where “name” is the name that you gave when you ran the vtl addServer command.

-h  [optional] The “help” text.

<nothing/default> display's the client's certificate

Example

Windows
C:\Program Files\SafeNet\LunaClient>vtl examineCert -f cert\server\bigCert.pem
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 0 (0x0)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=CA, ST=Ontario, L=Ottawa, O=Chrysalis-ITS, CN=168.0.1.0
Validity 
  Not Before: Nov 10 14:10:36 2011 GMT 
  Not After : Nov 11 14:10:36 2021 GMT
Subject: C=CA, ST=Ontario, L=Ottawa, O=Chrysalis-ITS, CN=168.0.1.0  
Exponent: 65537 (0x10001)
 

The only difference for a UNIX client would be the path in the filespec.