SSLConfigGroupCommands group for AdminTask
Use the Jython or Jacl scripting languages to configure security with wsadmin. The commands and parameters in the SSLConfigGroupCommands group can be used to create and manage SSL configuration groups.
The SSLConfigGroupCommands includes the following commands:
deleteSSLConfigGroup
The deleteSSLConfigGroup command deletes an SSL configuration group from the configuration.Target object
None.
Required parameters
- -name
- Name that uniquely identifies the SSL configuration group. (String, required)
- -direction
- Direction to which the SSL configuration applies. Valid values include inbound or outbound. (String, required)
Optional parameters
- -scopeName
- Name that uniquely identifies the management scope. (String, optional)
Examples
Batch mode example usage:
- Jacl...
$AdminTask deleteSSLConfigGroup {-name createSSLCfgGrp -direction inbound}- Use Jython string:
AdminTask.deleteSSLConfigGroup('[-name createSSLCfgGrp -direction inbound)']- Use Jython list:
AdminTask.deleteSSLConfigGroup(['-name', 'createSSLCfgGrp', '-direction', 'inbound')]
Interactive mode example usage:
- Jacl...
$AdminTask deleteSSLConfigGroup {-interactive}- Jython...
AdminTask.deleteSSLConfigGroup('-interactive')
getSSLConfigGroup
The getSSLConfigGroup command returns information about an SSL configuration setting.Target object
None.
Required parameters
- -name
- Name that uniquely identifies the SSL configuration group. (String, required)
- -direction
- Direction to which the SSL configuration applies. Valid values include inbound or outbound. (String, required)
Optional parameters
- -scopeName
- Name that uniquely identifies the management scope. (String, optional)
Examples
Batch mode example usage:
- Jacl...
$AdminTask getSSLConfigGroup {-name createSSLCfgGrp -direction inbound}- Use Jython string:
AdminTask.getSSLConfigGroup('[-name createSSLCfgGrp -direction inbound)']- Use Jython list:
AdminTask.getSSLConfigGroup(['-name', 'createSSLCfgGrp', '-direction', 'inbound')]
Interactive mode example usage:
- Jacl...
$AdminTask getSSLConfigGroup {-interactive}- Jython...
AdminTask.getSSLConfigGroup('-interactive')
listSSLConfigGroups
The listSSLConfigGroups command lists the SSL configuration groups within a scope and a direction.Target object
None.
Required parameters None.
Optional parameters
- -direction
- Direction to which the SSL configuration applies. Valid values include inbound or outbound. (String, optional)
- -scopeName
- Name that uniquely identifies the management scope. (String, optional)
- -displayObjectName
- If we set this parameter to true, the command returns a list of all of the SSL configuration group objects within the scope. If we set this parameter to false, the command returns a list of strings that contain the SSL configuration name and management scope. (Boolean, optional)
- -all
- Specify the value of this parameter as true to list all SSL configuration groups. This parameter overrides the scopeName parameter. The default value is false. (Boolean, optional)
Examples
Batch mode example usage:
- Jacl...
$AdminTask listSSLConfigGroups {-displayObjectName true}- Use Jython string:
AdminTask.listSSLConfigGroups('[-displayObjectName true)']- Use Jython list:
AdminTask.listSSLConfigGroups(['-displayObjectName' 'true')]
Interactive mode example usage:
- Jacl...
$AdminTask listSSLConfigGroups {-interactive}- Jython...
AdminTask.listSSLConfigGroups('-interactive')
modifySSLConfigGroup
The modifySSLConfigGroup command modifies the setting of an existing SSL configuration group.Target object
None.
Required parameters
- -name
- Name that uniquely identifies the SSL configuration group. (String, required)
- -direction
- Direction to which the SSL configuration applies. Valid values include inbound or outbound. (String, required)
Optional parameters
- -certificateAlias
- Specifies a unique name to identify a certificate. (String, optional)
- -scopeName
- Name that uniquely identifies the management scope. (String, optional)
- -sslConfigAliasName
- Alias that uniquely identifies the SSL configurations in the group. (String, optional)
- -sslConfigScopeName
- Scope that uniquely identifies the SSL configurations in the group. (String, optional)
Examples
Batch mode example usage:
- Jacl...
$AdminTask modifySSLConfigGroup {-name createSSLCfgGrp -direction inbound -certificateAlias alias2}- Use Jython string:
AdminTask.modifySSLConfigGroup('[-name createSSLCfgGrp -direction inbound -certificateAlias alias2)']- Use Jython list:
AdminTask.modifySSLConfigGroup(['-name', 'createSSLCfgGrp', '-direction', 'inbound', '-certificateAlias', 'alias2')]
Interactive mode example usage:
- Jacl...
$AdminTask modifySSLConfigGroup {-interactive}- Jython...
AdminTask.modifySSLConfigGroup('-interactive')
Related concepts
Key management for cryptographic uses
Related tasks
Use AdminTask for scripted administration
Automating SSL configurations using scripting
Create an SSL configuration at the node scope using scripting