list-keystore-entries

Displays entries in the specified domain keystore

Synopsis

asadmin list-keystore-entries [--help]
[--verbose={false|true}]
[--domainName=name]
[--domainDir=directory]
[--node=nodeName]
[--nodeDir=directory]
[--listener=listenername]
[--target=instanceName]
[alias]

Description

This command displays either all or a specific store entry from the target instance or listener’s key store.

Options

--help
-?

Displays the help text for the subcommand.

--target

This option helps specify the target on which you are listing its keystore entries. Valid values are:

server

Applies to the default server instance. This is the default value.

cluster_name

Applies to every server instance in the cluster.

instance_name

Applies to a specified sever instance.

--verbose

Whether to print the full entry details. Defaults to false

--listener

The name of the HTTP or IIOP listener to add the certificate to.

--domainname

The name of the domain where the target instance exists.

Defaults to domain1 or the existing domain if only one exists.

--domainDir

The path to the directory containing the target domain.

Defaults to as-install/glassfish/domains

--node

The name of the node where the target instance exists.

Defaults to localhost-$domainname

--nodeDir

The path to the directory containing the target node.

Defaults to as-install/glassfish/nodes

Operands

alias

The alias name of the entry to list. If not provided then all entries in the keystore are listed.

Examples

Example 1 List all entries in the production domain’s keystore

asadmin list-keystore-entries --domainName production

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also