Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
SSLConfigGroupCommands group
Use the Jython or Jacl scripting languages to configure security with wsadmin.sh. The commands and parameters in the SSLConfigGroupCommands group can be used to create and manage SSL configuration groups.
The SSLConfigGroupCommands command group 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 example...
### Jacl
$AdminTask deleteSSLConfigGroup {-name createSSLCfgGrp -direction inbound}
Jython string: AdminTask.deleteSSLConfigGroup('[-name createSSLCfgGrp -direction inbound]')
Use Jython list: AdminTask.deleteSSLConfigGroup(['-name', 'createSSLCfgGrp', '-direction', 'inbound'])
Interactive example...
### 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 example...
### Jacl
$AdminTask getSSLConfigGroup {-name createSSLCfgGrp -direction inbound}
Jython string: AdminTask.getSSLConfigGroup('[-name createSSLCfgGrp -direction inbound]')
Use Jython list: AdminTask.getSSLConfigGroup(['-name', 'createSSLCfgGrp', '-direction', 'inbound'])
Interactive example...
### 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 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)
-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 example...
### Jacl
$AdminTask listSSLConfigGroups {-displayObjectName true}
Jython string: AdminTask.listSSLConfigGroups('[-displayObjectName true]')
Use Jython list: AdminTask.listSSLConfigGroups(['-displayObjectName' 'true'])
Interactive example...
### 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
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 example...
### Jacl
$AdminTask modifySSLConfigGroup {-name createSSLCfgGrp -direction inbound -certificateAlias alias2}
Jython string: AdminTask.modifySSLConfigGroup('[-name createSSLCfgGrp -direction inbound -certificateAlias alias2]')
Use Jython list: AdminTask.modifySSLConfigGroup(['-name', 'createSSLCfgGrp', '-direction', 'inbound', '-certificateAlias', 'alias2'])
Interactive example...
### Jacl
$AdminTask modifySSLConfigGroup {-interactive}### Jython
AdminTask.modifySSLConfigGroup('-interactive')
Key management for cryptographic uses
Use the wsadmin scripting AdminTask object for scripted administration
Automate SSL configurations using scripting
Create an SSL configuration at the node scope using scripting