+

Search Tips   |   Advanced Search

 

Create a key set group configuration

 

A key set group manages one or more key sets. WebSphere Application Server uses key set groups to automatically generate cryptographic keys or multiple synchronized key sets.

 

Overview

Complete the following steps in the console:

 

Procedure

  1. Decide whether you want to create the key set group at the cell scope or below the cell scope at the node, server, or cluster, for example.

  2. You can choose to generate a key for an existing key set group, delete an existing key set group, or create a new key set group.

    • To generate a key for an existing key set group, select a key set group from the list of existing key set groups, and click Generate keys. You have generated a new key for each key set in the selected group.

    • To delete an existing key set group, select a key set group from the list of existing key set groups, and click Delete. You have deleted the key set group.

    • To create a new key set group, go to step 3.

    CAUTION:Do not delete the cell or node LTPAKeySetGroup, which is used by the LTPA (LPTA) mechanism.

  3. Click New to create a new key set group.

  4. Type a key set group name. You can reference this name by using the com.ibm.websphere.crypto.KeySetHelper API to retrieve the managed keys from an application.

  5. Select one or more key sets from the Key sets list.

    If the key set(s) you want is not listed, make sure that it was created at the same scope or a higher scope than where you are creating the new key set group.

  6. Click Add to add the selected key set(s) to the new key set group.

  7. Select Automatically generate keys to generate the new keys on a schedule. If you decide to generate keys automatically, then specify a scheduled time of day.

  8. Specify the scheduled time to generate keys automatically in hours and minutes, A.M. or P.M., or every 24 hours.

  9. You can choose to generate new keys on a specific day or at an interval.

    • Select Generate on a specific day. Select a day of the week from the drop-down list, and type a repeat interval number for the number of days between each key generation. This choice enables you to schedule key generation when your systems are least busy.

    • Select Generate at an interval. Type a repeat interval number for the number of days between each key generation. This choice enables you to schedule key generation more frequently than once a week.

    The Next start date is a read-only field that specifies the date for the next scheduled generation. You can stop and restart the deployment manager or base appserver without resetting this date. If you do not see the next start date appear after changing the configuration, click OK to save it, then check that the next start date displays.

  10. Click Save.

 

Results

You have created a new key set group to manage key sets and key generation on a schedule.

 

What to do next

After you generate new keys from a key set, you can access them programmatically using the com.ibm.websphere.crypto.KeySetHelper API. You must have Java 2 Security permissions, if enabled, to access keys in key sets. Specify the key set name within the fine-grained permissions, as in the following code sample: WebSphereRuntimePermission "getKeySets.keySetName". For more information, see Example: Retrieving the generated keys from a key set group.



Example: Retrieving the generated keys from a key set group

Example: Developing a key or key pair generation class for automated key generation

Key set groups collection

Key set groups settings

 

Related concepts


Key management for cryptographic uses

 

Related tasks


Creating a key set configuration