printCert

Description

Reads the certificate information from the keystore, and prints its contents in a human-readable format to the display. keyname is the name of the printed certificate.

Syntax

Command line:

printCert 
keyname

Ant build file:

<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/>
<target name="printCert" > <wst_antTask command="printCert"
keyname=“key” >

Examples

Example 1

This command displays the information contained in the Jaguar user test CA:

wstkeytool printCert “Sybase Jagauar User Test CA”

Ant build example:

<wst_antTask command="printcert" entity="Sybase Jaguar User Test CA"/>