+

Search Tips   |   Advanced Search

Create a key set group configuration


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

Complete the following steps in the admin console:

 

  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. We 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. we 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. we 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 Lightweight Third Party Authentication (LPTA) mechanism.

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

  4. Type a key set group name. We 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 we 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 we 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. We 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 the 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. We can stop and restart the deployment manager or base appserver without resetting this date. If we 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

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

 

Next steps

After you generate new keys from a key set, we can access them programmatically using the com.ibm.websphere.crypto.KeySetHelper API. You must have Java2 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".

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


Create a key set configuration

 

Related


KeySetCommands