2.13.4 delete-ssl
Deletes the SSL element in the selected HTTP listener, IIOP listener, or IIOP service.
Synopsis
asadmin [asadmin-options] delete-ssl [--help] [--target target] --type listener_or_service_type listener_id
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-ssl subcommand deletes the SSL element in the selected HTTP listener, IIOP listener, or IIOP service. The listener_id is not required if the --type is iiop-service.
This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --target
-
Specifies the target on which you are configuring the SSL element.
Type: String
The following values can be specified:
-
server
Specifies the server in which the iiop-service or HTTP/IIOP listener is to be unconfigured for SSL.
-
configuration_name
Specifies the configuration that contains the HTTP/IIOP listener or iiop-service for which SSL is to be unconfigured.
-
cluster_name
Specifies the cluster in which the HTTP/IIOP listener or iiop-service is to be unconfigured for SSL. All the server instances in the cluster will get SSL unconfigured for the respective listener or iiop-service.
-
instance_name
Specifies the instance in which the HTTP/IIOP listener or iiop-service is to be unconfigured for SSL.
Default value: server
-
- --type
-
Specifies the type of service or listener for which the SSL is deleted.
Type: String
The following values can be specified:
-
http-listener
-
iiop-listener
-
iiop-service
Default value: N/A
-
- listener_id
-
Specifies the ID of the listener from which the SSL element is to be deleted.
The listener_id operand is not required if the --type is iiop-service.
Type: String
The following values can be specified:
-
ID of the listener
Default value: N/A
-
Examples
The following example shows how to delete an SSL element from an HTTP listener named http-listener-1 on the server instance instance1.
asadmin delete-ssl --target instance1 --type http-listener http-listener-1
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |