The WS-Security policy uses keys to digitally sign messages
or encrypting your web service messages. As part of configuring a
binding for the WS-Security policy, you must provide information about
the files in which these keys are stored.
Before you begin
Important: Applicable to WebSphere®
Application Server traditional
Your file system must contain keystores
that can be used to support the WS-Security policy. Obtain these files from your web service
provider.
Procedure
- In the Client Side Policy Set Attachment wizard, select
the WS-Security policy type in the Bindings Configuration table;
then click Configure.
- In the WS-Security binding configuration window, the Digital
Signature (bootstrap) tab and the XML Encryption (bootstrap) tab both
contain areas where you can specify settings for outbound and inbound
messages. Click Callback Handler Settings in
the area where you want to specify keystore settings.
- Enter the callback handler settings in the Callback
Handler Settings Dialog window: The number of
fields that are shown in the Callback Handler Settings Dialog window
depends on the policy set and policy type for which you are configuring
a binding.
- Type the path and name of the keystore file that you
received from the web service provider in the Keystore
Path field, or select the file by using Browse.
- Type the password for your keystore in the Keystore
Password field.
- Select the type of your keystore from the Keystore
Type list.
- Type the alias for your key in the Key Alias field.
- Type the name for your key in the Key Name field.
- Click OK.