disables the certificate for authorizing access in secure administration.
disable-secure-admin-principal [--help] --alias aliasname | DN
disable-secure-admin-principal subcommand disables the certificate as being valid for authorizing access as part of secure administration.
You must specify either the
--alias option, or the DN.
Displays the help text for the subcommand.
The alias name of the certificate in the truststore. GlassFish Server looks up the certificate in the truststore using that alias and, if found, disables the corresponding DN as being valid for secure administration. Because alias-name must be an alias associated with a certificate currently in the truststore, you may find it most useful for self-signed certificates.
The distinguished name of the certificate, specified as a comma-separated list in quotes. For example,
"CN=system.amer.oracle.com,OU=GlassFish,O=Oracle Corporation,L=Santa Clara,ST=California,C=US" .
The following example shows how to disable trust of a DN for authorizing access in secure administration.
asadmin> disable-secure-admin-principal "CN=system.amer.oracle.com,OU=GlassFish, O=Oracle Corporation,L=Santa Clara,ST=California,C=US" Command disable-secure-admin-principal executed successfully.
subcommand executed successfully
error in executing the subcommand