+

Search Tips   |   Advanced Search

Create self-signed certificates

Use the Jython or Jacl scripting language to create self-signed certificates with wsadmin.sh.

Before starting this task, wsadmin.sh must be running. See the Starting the wsadmin scripting client article for more information.

We can create self-signed certificates using the scripting and the AdminTask object. We can run the commands in interactive or batch mode. Interactive mode provides a way to discover the flags that we need to run the task in batch mode.

Certificates reside inside of key stores. To run the commands, you will need the name of the key store to be supplied. Use the listKeyStore command of the AdminTask object to get a list of key stores. If we need a new key store, use the createKeyStore command of the AdminTask object.

Avoid trouble: Certificate aliases with embedded quotes in them can cause issues when the runtime attempts to use them. Do not use embedded quotes in a certificate alias.gotcha

To create a personal key store, use the following examples:


Related tasks

  • Start the wsadmin scripting client


    Related information:

  • Commands (AdminTask)