WAS v8.5 > Script the application serving environment (wsadmin) > Scripting for security > Configure security with scripting > Secure communications using wsadmin

Automating SSL configurations using scripting

SSL configuration is needed for WebSphere to perform SSL connections with other servers. An SSL configuration can be configured through the Admin Console. But if an automated way to create a SSL configuration is desired then AdminTask should be used.

Before starting this task, wsadmin must be running. See the Starting the wsadmin scripting client article for more information. AdminTask can be used in a interactive mode and batch mode. For automation the batch mode options should be used. AdminTask batch mode can be called in a JACL or Python script. Interactive mode will step through all the parameter the task needs, requires ones are marked with a '*'. Before the interactive task executes the task it echoes the batch mode syntax of the task to the screen. This can be helpful when writing batch mode scripts.

There attributes needed to create an ssl configurations:

If automating the creation of a SSL Configuration it may be needed to create some of the attribute values needed like the key store, trust store, key manager, and trust managers.


Related


Start the wsadmin scripting client using wsadmin.sh


Related information:

Commands for AdminTask using wsadmin.sh


+

Search Tips   |   Advanced Search