+

Search Tips   |   Advanced Search

SSLConfigCommands

Use the Jython or Jacl scripting languages to configure security with the wsadmin tool. The commands in the SSLConfigCommands group can be used to manage SSL configurations and properties.

The SSLConfigCommandscommands include:


createSSLConfig

Create an SSL configuration based on key store and trust store settings. Use the SSL configuration settings to make the SSL connections.

Target object: None.

Required parameters:

Optional parameters:

Example output

The command returns the configuration object name of the new SSL configuration object.

Examples:

Batch mode example usage:

Interactive mode example usage:


createSSLConfigProperty

Create a property for an SSL configuration. Use this command to set SSL configuration settings that are different than the settings in the SSL configuration object.

Target object: None.

Required parameters:

Optional parameters:

Example output

The command does not return output.

Examples:

Batch mode example usage:

Examples:

Batch mode example usage:

Interactive mode example usage:


deleteSSLConfig

Delete the SSL configuration object specified from the configuration.

Target object: None.

Required parameters and return values

Optional parameters:

Example output

The command does not return output.

Examples:

Batch mode example usage:

Interactive mode example usage:


getInheritedSSLConfig

Return the SSL configuration alias and certificate alias from which a given management scope and direction inherits its SSL configuration information. This command only returns inheritance information; it does not return information about an SSL configuration that is effective for a give scope.

For example, by default in a Network Deployment environment, there are different SSL configuration effective at the cell and node levels. If we issue the getInheritedSSLConfig command, specifying the nodes management scope, we get the name of the SSL configuration for the cell, not the effective SSL configuration of the node, because the node inherits its configuration information from the cell.

Target object: None.

Required parameters and return values

Optional parameters: None.

Example output

The command returns the SSL configuration alias and certificate alias from which the specified management scope and direction inherits its SSL configuration information.

Examples:


getSSLConfig

Obtain information about an SSL configuration and display the settings.

Target object: None.

Required parameters and return values

Optional parameters:

Example output:

The command returns information about the SSL configuration of interest.

Examples:

Batch mode example usage:

Interactive mode example usage:


getSSLConfigProperties

Obtain information about SSL configuration properties.

Target object: None.

Required parameters and return values

Optional parameters:

Example output

The command returns additional information about the SSL configuration properties.

Examples:

Batch mode example usage:

Interactive mode example usage:


listSSLCiphers

List the SSL ciphers.

Target object: None.

Required parameters:

Optional parameters:

Example output

The command returns a list of SSL ciphers.

Examples:

Batch mode example usage:

Interactive mode example usage:


listSSLConfigs

List the defined SSL configuration within a management scope.

Target object: None.

Optional parameters:

Example output

The command returns a list of defined SSL configurations.

Examples:

Batch mode example usage:

Interactive mode example usage:


listSSLConfigProperties

List the properties for a SSL configuration.

Target object: None.

Required parameters:

Optional parameters:

Example output

Return SSL configuration properties.

Examples:

Batch mode example usage:

Interactive mode example usage:


listSSLProtocolTypes

List the SSL protocols valid for the current configured security level. If a security standard is not enabled, the full list of valid protocols are returned. Otherwise, the list of appropriate protocols for the configured security level is returned.

Target object: None.

Required parameters: None.

Returns

This command lists all available protocols for the current FIPS level.

Examples:

Batch mode example usage:


listSSLRepertoires

List all of the SSL configuration instances that we can associate with an SSL inbound channel.If we create a new SSL alias using the administrative console, the alias name is automatically created in the node/alias_name format. However, if we create a new SSL alias using the wsadmin tool, create the SSL alias and specify both the node name and alias name in the node/alias_name format.

Target object: SSLInboundChannel instance for which the SSLConfig candidates are listed.

Required parameters

None.

Optional parameters: None.

Sample output

The command returns a list of eligible SSL configuration object names.

Examples:

Batch mode example usage:

Interactive mode example usage:


modifySSLConfig

Modify the settings of an existing SSL configuration.

Target object: None.

Required parameters:

Optional parameters:

Example output

The command does not return output.

Examples:

Batch mode example usage:

Interactive mode example usage:


Related:

  • Key management for cryptographic uses
  • wsadmin AdminTask
  • Automating SSL configurations using scripting
  • Create an SSL configuration at the node scope using scripting