DynamicSSLConfigSelections command group for the AdminTask object
You can use the Jython or Jacl scripting languages to configure security with the wsadmin tool. The commands and parameters in the DynamicSSLConfigSelections group can be used to create, delete, and query dynamic SSL configuration selection objects.
createDynamicSSLConfigSelection
The createDynamicSSLConfigSelection command creates a dynamic SSL configuration selection object in the configuration. The object is used by the SSL runtime to match outbound connections with filter information to determine if the specified SSL configuration is to be used for the outbound connection.
Target object
None.Required parameters
- -dynSSLConfigSelectionName
- Specifies the name that uniquely identifies the dynamic SSL configuration selection. (String, required)
- -dynSSLConfigSelectionInfo
- Provides the filter to be used by the runtime to determine which SSL configuration should be
used for an outbound call. The value should be provided in the form of a comma-seperated list of
theoutbound protocol,remote host,remote port. For example,
ADMIN_SOAP,testMachine.ibm.com,9445
. This filter matches outbound SSL connections using Soap going to machine testMachine.ibm.com and port 9445. (String, required) - -sslConfigName
- Name of the SSL configuration to be used for the outbound connection. (String, required)
Optional parameters
- -certificateAlias
- Specifies the name of the certificate alias to use if the outbound SSL connection is using client authentication. (String, optional)
- -scopeName
- Specifies the management scope the dynamic SSL configuration selection object is in. (String, optional)
- -sslConfigScope
- Specifies the management scope the SSL configuration that is specified by the sslConfigName flag.
- -dynSSLConfigSelectionDescription
- Specifies a description for the dynamic SSL configuration selection object in the configuration. (String, optional)
Examples
Batch mode example usage:
-
Using Jacl:
$AdminTask createDynamicSSLConfigSelection {-dynSSLConfigSelectionName sampleConfigSelection -sslConfigName nodeDefaultSSLSettings -dynSSLConfigSelectionInfo ADMIN_SOAP,testMachine.ibm.com,9445 -dynSSLConfigSelectionDescription "Used for Soap connection to testMachine.ibm.com"}
-
Using Jython:
AdminTask.createDynamicSSLConfigSelection('[-dynSSLConfigSelectionName sampleConfigSelection -sslConfigName nodeDefaultSSLSettings -dynSSLConfigSelectionInfo ADMIN_SOAP,testMachine.ibm.com,9445 -dynSSLConfigSelectionDescription "Used for Soap connection to testMachine.ibm.com"]' )
Interactive mode example usage:
-
Using Jacl:
$AdminTask createDynamicSSLConfigSelection {-interactive}
-
Using Jython:
AdminTask.createDynamicSSLConfigSelection('-interactive')
deleteDynamicSSLConfigSelection
The deleteDynamicSSLConfigSelection command deletes the dynamic SSL configuration selection from the configuration.
Target object
None.Required parameters
- -dynSSLConfigSelectionName
- Specifies the name that uniquely identifies the dynamic SSL configuration selection. (String, required)
Optional parameters
- -scopeName
- Specifies the unique name that identifies the management scope. (String, optional)
Examples
Batch mode example usage:
-
Using Jacl:
$AdminTask deleteDynamicSSLConfigSelection {-dynSSLConfigSelectionName sampleConfigSelection}
-
Using Jython:
AdminTask.deleteDynamicSSLConfigSelection(-dynSSLConfigSelectionName sampleConfigSelection)
Interactive mode example usage:
-
Using Jacl:
$AdminTask deleteDynamicSSLConfigSelection {-interactive}
-
Using Jython:
AdminTask.deleteDynamicSSLConfigSelection('-interactive')
getDynamicSSLConfigSelection
The getDynamicSSLConfigSelection command obtains information about a particular dynamic SSL configuration selection.
Target object
None.Required parameters
- -dynSSLConfigSelectionName
- Specifies the name that uniquely identifies the dynamic SSL configuration selection. (String, required)
Optional parameters
- -scopeName
- Specifies the unique name that identifies the management scope. (String, optional)
Examples
Batch mode example usage:
-
Using Jacl:
$AdminTask getDynamicSSLConfigSelection {-dynSSLConfigSelectionName sampleConfigSelection}
-
Using Jython:
AdminTask.getDynamicSSLConfigSelection(-dynSSLConfigSelectionName sampleConfigSelection)
Interactive mode example usage:
-
Using Jacl:
$AdminTask getDynamicSSLConfigSelection {-interactive}
-
Using Jython:
AdminTask.getDynamicSSLConfigSelection('-interactive')
listDynamicSSLConfigSelections
The listDynamicSSLConfigSelections command lists the configuration objects name for a dynamic SSL configuration selection.Target object
None.Required parameters
None.Optional parameters
- -scopeName
- Specifies the unique name that identifies the management scope. (String, optional)
- -all
- Specify the value of this parameter as true to list all dynamic SSL configuration selections. This parameter overrides the scopeName parameter. The default value is false. (String, optional)
Example output
The command does not return output.Examples
Batch mode example usage:
-
Using Jacl:
$AdminTask listDynamicSSLConfigSelections
-
Using Jython:
AdminTask.listDynamicSSLConfigSelections()
Interactive mode example usage:
-
Using Jacl:
$AdminTask listDynamicSSLConfigSelections {-interactive}
-
Using Jython:
AdminTask.listDynamicSSLConfigSelections('-interactive')