SSLConfigGroupCommands group for the AdminTask object
Use the Jython or Jacl scripting languages to configure security with the wsadmin tool. The commands in the SSLConfigGroupCommands group can be used to manage SSL configuration groups.
The SSLConfigGroupCommands command group for the AdminTask objectcommands include:
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:
- Use 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:
- Use Jacl:
$AdminTask deleteSSLConfigGroup {-interactive}
- Use 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:
- Use 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:
- Use Jacl:
$AdminTask getSSLConfigGroup {-interactive}
- Use 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 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 is false. (Boolean, optional)
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask listSSLConfigGroups {-displayObjectName true}
- Use Jython string:
AdminTask.listSSLConfigGroups('[-displayObjectName true]')
- Use Jython list:
AdminTask.listSSLConfigGroups(['-displayObjectName' 'true'])
Interactive mode example usage:
- Use Jacl:
$AdminTask listSSLConfigGroups {-interactive}
- Use 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
- 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:
- Use 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:
- Use Jacl:
$AdminTask modifySSLConfigGroup {-interactive}
- Use Jython:
AdminTask.modifySSLConfigGroup('-interactive')
Related:
Key management for cryptographic uses wsadmin AdminTask Automating SSL configurations using scripting Create an SSL configuration at the node scope using scripting