Automating SSL configurations using scripting

SSL configuration is needed for the product to perform SSL connections with other servers. You can configure SSL through the administrative console. But AdminTask provides an automated way to create an SSL configuration.

Before you begin

The wsadmin tool must be running. For more information, see the topic about starting the wsadmin scripting client.

About this task

AdminTask can be used in interactive mode and batch mode. For automation, use the batch mode options. AdminTask batch mode can be called in a Jython script. Interactive mode steps through all parameters the task needs, required ones are marked with an asterisk (*). Before the interactive task runs the task, it echoes the batch mode syntax of the task to the screen. The syntax can help you write batch mode scripts.

An SSL configuration requires the following attributes:
  • A keystore
  • Default client certificate alias
  • Default server certificate alias
  • Truststore
  • The handshake protocol
  • The ciphers needed during handshake
  • Supporting client authentication or not
To automate the creation of an SSL configuration, you might need to create some of the attribute values, such as the keystore, truststore, key manager, and trust managers.

Procedure


Icon that indicates the type of topic Task topic



Timestamp icon Last updated: March 5, 2017 17:30
File name: txml_automatessl.html