validate truststore

Use the validate truststore command to validate a specified security certificate file.

ActiveSpaces validates the specified truststore and notifies with error messages, if errors are found. If the certificate file is validated successfully, the output indicates the X509 information and validity time period.

Syntax

validate truststore cert_file <string>

Parameters

The following table lists the parameters for this command with a description of each parameter.

validate truststore Parameters
Parameter Description
cert_file Specifies the file path name of the certificate file that is to be validated.

Example

The following examples illustrate the syntax of the validate truststore command:

validate truststore cert_file "mycert.pem"
Note: Parameter values must be enclosed in either single or double quotes.
The following example shows sample output from the command:
as-admin> validate truststore cert_file "mycert.pem"
 [1] /CN=AS-DOMAIN-FEF3A467 [serial: A9CD21B4A05FB244]
 [valid after: Jan 17 03:10:34 2013 GMT, before: Jan 17 03:10:34 2014 GMT]
Found [1] requestor trust anchor(s)
Truststore validated successfully: mycert.pem