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  
Subject Public Key Info: 
  Public Key Algorithm: rsaEncryption 
  RSA Public Key: (2048 bit) 
    Modulus (2048 bit): 
        00:a9:c3:db:59:33:b8:65:20:c9:13:f7:a7:e5:59: 
      7b:12:a4:31:d3:62:36:9a:62:68:6e:1d:d7:c7:f0: 
     8c:fd:06:43:f8:42:f7:8c:de:74:d1:38:a3:8f:37: 
      94:c4:82:cc:67:d8:51:14:cd:e4:b7:dd:f8:ff:09: 
      c8:03:f9:62:c5:ad:fc:4d:2e:fe:67:dd:6b:e7:de: 
      bd:9e:bd:92:14:63:a6:99:2a:78:e7:72:6d:ba:79: 
      3d:55:a8:a4:5d:85:11:36:9f:3d:4c:9a:e6:e8:bf: 
      b4:5b:45:83:46:c4:2c:d9:22:fa:50:5a:28:ba:6e: 
      2f:cb:2f:54:47:8d:3b:fd:73:bc:5a:ce:cd:bb:4e: 
      ec:b5:1c:87:b6:b1:cd:53:77:f0:f2:36:e9:b2:3d: 
      2e:61:6f:f2:73:c6:ad:c4:d4:fe:20:3b:de:e8:a9: 
      a4:cd:93:17:0a:65:a5:58:ef:e3:11:d5:f0:ac:92: 
      af:33:dc:1c:c0:8f:04:fc:13:53:65:7f:52:34:07: 
      71:7a:9b:e5:d8:1e:e0:bd:ca:13:0f:f9:00:33:e5: 
      2a:0c:79:78:42:ff:4c:1a:d6:83:2c:ae:bf:2d:1d: 
      93:ac:f5:6b:60:97:ab:fb:1a:d5:86:2c:2f:3c:f6: 
      7e:37:8d:77:0a:7a:dd:7c:38:61:26:9a:c9:c0:0d: 
      b3:57
Exponent: 65537 (0x10001)
Signature Algorithm: sha256WithRSAEncryption 
15:49:31:22:c4:1a:80:9f:2d:de:4b:df:63:b8:b0:16:b0:af: 
7a:f4:8f:62:0b:ad:fa:21:b5:95:6e:fc:a6:09:b9:f9:5f:ea: 
8e:c8:a7:d5:90:0b:12:ff:a6:34:b5:9a:02:7f:81:66:38:21: 
c7:92:21:a2:d4:0f:e9:44:84:2a:f5:ea:d2:00:4b:f1:0f:d5: 
55:5b:15:3e:b4:b5:b6:d4:32:7d:fe:8c:ef:80:ef:f8:dd:73: 
e6:1e:a2:41:4c:8c:1d:c7:fa:2a:a9:25:ef:aa:29:8e:40:8e: 
da:2a:3d:af:67:a7:7e:da:a9:76:6d:c6:10:e7:3a:5d:45:ac: 
a0:f3:35:30:44:76:7c:b0:ce:61:19:0b:74:b1:3f:51:08:f9: 
12:47:75:7c:33:0c:ee:02:d7:bb:48:10:6d:40:5b:fe:26:f2: 
8f:28:0f:d9:2d:25:d9:af:49:44:b3:25:c6:cf:97:21:f0:3a: 
0d:0e:41:30:34:56:e8:8d:6b:d6:36:fb:a9:79:e6:bc:dd:6b: 
61:cf:98:01:c0:70:b2:81:41:1c:79:6e:58:47:e9:22:83:98: 
9f:9f:62:87:e3:74:df:87:fe:0b:78:55:0f:1e:6e:56:21:b6: 
0e:29:64:cb:75:de:90:82:bd:24:64:ef:db:8c:9b:5b:b4:7e: 
86:61:89:64
 

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