SSLConfigGroupCommands 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 SSLConfigGroupCommands group can be used to create and manage SSL configuration groups. The SSLConfigGroupCommands command group for the AdminTask object includes the following commands:
deleteSSLConfigGroup
The deleteSSLConfigGroup command deletes a SSL configuration group from the configuration.
Target object
None
Parameters and return values
- -name
- The name that uniquely identifies the SSL configuration group. (String, required)
- -direction
- The direction to which the SSL configuration applies. Valid values include inbound or outbound. (String, required)
- -scopeName
- The name of the 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 string:
AdminTask.deleteSSLConfigGroup ('[-interactive]')
- Use Jython list:
AdminTask.deleteSSLConfigGroup (['-interactive'])
getSSLConfigGroup
The getSSLConfigGroup command returns information about a SSL configuration setting.
Target object
None
Parameters and return values
- -name
- The name that uniquely identifies the SSL configuration group. (String, required)
- -direction
- The direction to which the SSL configuration applies. Valid values include inbound or outbound. (String, required)
- -scopeName
- The name of the 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 string:
AdminTask.getSSLConfigGroup ('[-interactive]')
- Use Jython list:
AdminTask.getSSLConfigGroup (['-interactive'])
listSSLConfigGroups
The listSSLConfigGroups command lists the SSL configuration groups within a scope and a direction.
Target object
None
Parameters and return values
- -direction
- The direction to which the SSL configuration applies. Valid values include inbound or outbound. (String, optional)
- -scopeName
- The name of the scope. (String, optional)
- -displayObjectName
- If you set this parameter to true, the command returns a list of all of the SSL configuration group objects within the scope. If you set this parameter to false, the command returns a list of strings that contain the SSL configuration name and management scope. (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 string:
AdminTask.listSSLConfigGroups ('[-interactive]')
- Use Jython list:
AdminTask.listSSLConfigGroups (['-interactive'])
modifySSLConfigGroup
The modifySSLConfigGroup command modifies the setting of an existing SSL configuration group.
Target object
None
Parameters and return values
- -name
- The name that uniquely identifies the SSL configuration group. (String, required)
- -direction
- The direction to which the SSL configuration applies. Valid values include inbound or outbound. (String, required)
- -certificateAlias
- (String, optional)
- -scopeName
- The name of the scope. (String, optional)
- -sslConfigAliasName
- The alias that uniquely identifies the SSL configurations in the group. (String, optional)
- -sslConfigScopeName
- The 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 string:
AdminTask.modifySSLConfigGroup ('[-interactive]')
- Use Jython list:
AdminTask.modifySSLConfigGroup (['-interactive'])
Related tasks
Use the AdminTask object for scripted administration
Related Reference
Commands for the AdminTask object
Reference topic