get-cert-prop <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] [--token|-t name] [--token-pin|-P name] --config|-c config-name --nickname|-n nickname (propertyname)*
Use this command to view the certificate properties. The properties that you can view are as follows:
nickname — The nickname or identifier used to refer the certificate.
subject — The subject DN or the identity of the entity to which this certificate belongs.
issuer — The subject DN of the issuing authority of this certificate.
serial-number – The serial number of the certificate.
fingerprint — A MD5 digest of this certificate.
key-type — The type of this certificate. The key types can be rsa or ecc
key-size — The size of certificate key. Applicable only if the key-type is rsa. The key size can be 1024, 2048 or 4098.
token — The token in which this certificate is stored.
issuername — The CN or the first component of the issuer.
issue-date — The issue date of the certicate.
expiry-date — The expiry date of the certificate.
is-expired — Indicates whether this certificate has expired.
is-read-only — Indicates if this certificate is read only.
is-self-signed — Indicates if this certificate has signed itself or has been signed by another authority.
has-crl — Indicates whether a CRL has been installed for this certificate.
client-ca — Indicates if this certificate is trusted to sign client certificates.
server-ca — Indicates if this certificate is trusted to sign server certificates.
is-ca — Indicates if this certificate is a CA certificate.
is-user-cert — Indicating if this certificate is a non-CA certificate owned by this entity. The entity referred here is the server instance.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the token (cryptographic device), which contains the encrypted public key.
Specify the Personal Identification Number (PIN) required to initialize the token. You can also define the token-pin in the password file.
Specify the name of the configuration for which the certificate properties will be displayed.
Specify the short name or nick name of the certificate.
wadm get-cert-prop --user=admin --host=serverhost --port=8989 --ssl=true --prompt=false --rcfile=null --password-file=certdb.newpasswd --config=config1 --token=internal --nickname="Certificonfig1e Manager - Sun"
The following exit values are returned:
command executed successfully
error in executing the command