Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
adds a new protocol
create-protocol [--help] [--securityenabled={false|true}] [--target target] protocol-name
The create-protocol
subcommand creates a protocol. This subcommand is supported in remote mode only.
--help
-?
Displays the help text for the subcommand.
--securityenabled
If set to true
, the protocol runs SSL. You can turn SSL2 or SSL3 ON or OFF and set ciphers using an ssl
element. The security setting globally enables or disables SSL by making certificates available to the server instance. The default value is false
.
--target
Creates the protocol only on the specified target. Valid values are as follows:
server
Creates the protocol on the default server instance. This is the default value.
Creates the protocol in the specified configuration.
Creates the protocol on all server instances in the specified cluster.
Creates the protocol on the specified standalone server instance.
The name of the protocol.
The following command creates a protocol named http-1
with security enabled:
asadmin> create-protocol --securityenabled=true http-1
Command create-protocol executed successfully.
command executed successfully
error in executing the command
delete-protocol(1), list-protocols(1), create-network-listener(1)