keytool:printCertificate

Full name:

org.codehaus.mojo:keytool-maven-plugin:1.6-SNAPSHOT:printCertificate

Description:

To print the content of a certificate. Implemented as a wrapper around the SDK keytool -printcert command. See keystore documentation.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.2.

Required Parameters

Name Type Since Description
workingDirectory File 1.2 Where to execute the keytool command.
Default value is: ${basedir}.

Optional Parameters

Name Type Since Description
arguments String[] 1.1 List of additional arguments to append to the keytool command line. Note: This parameter is left for compatibility reason but should be used at a last resort whenparameters are not found in dedicated mojo due to possible side-effects on parameters (see https://jira.codehaus.org/browse/MKEYTOOL-17)
file File 1.2 Input file name. See options.
jarfile File 1.2 Signed jar file. See options.
rfc boolean 1.2 Output in RFC style. See options.
skip boolean 1.1 Set to true to disable the plugin.
Default value is: false.
sslserver String 1.2 SSL server host and port. See options.
verbose boolean 1.2 Enable verbose mode (in mojo and in keytool command). See options.
Default value is: false.

Parameter Details

arguments:

List of additional arguments to append to the keytool command line. Note: This parameter is left for compatibility reason but should be used at a last resort whenparameters are not found in dedicated mojo due to possible side-effects on parameters (see https://jira.codehaus.org/browse/MKEYTOOL-17)
  • Type: java.lang.String[]
  • Since: 1.1
  • Required: No

file:

Input file name. See options.
  • Type: java.io.File
  • Since: 1.2
  • Required: No

jarfile:

Signed jar file. See options.
  • Type: java.io.File
  • Since: 1.2
  • Required: No

rfc:

Output in RFC style. See options.
  • Type: boolean
  • Since: 1.2
  • Required: No

skip:

Set to true to disable the plugin.
  • Type: boolean
  • Since: 1.1
  • Required: No
  • Default: false

sslserver:

SSL server host and port. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

verbose:

Enable verbose mode (in mojo and in keytool command). See options.
  • Type: boolean
  • Since: 1.2
  • Required: No
  • Default: false

workingDirectory:

Where to execute the keytool command.
  • Type: java.io.File
  • Since: 1.2
  • Required: Yes
  • Default: ${basedir}