Adds a new protocol.
Synopsis
asadmin [asadmin-options] create-protocol [--help]
[--securityenabled={false|true}]
[--target target]
protocol-name
Description
The create-protocol subcommand creates a protocol. This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadminutility. For information about these options, see theasadminhelp page. --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 ansslelement. The security setting globally enables or disables SSL by making certificates available to the server instance. The default value isfalse. --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.
- configuration-name
-
Creates the protocol in the specified configuration.
- cluster-name
-
Creates the protocol on all server instances in the specified cluster.
- standalone-instance-name
-
Creates the protocol on the specified standalone server instance.
Examples
Example 1 Creating a 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.