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
Your file system must contain key stores that can be used
to support the WS-Security policy. Obtain these files from your web
service provider.
About this task
To specify settings for your key stores:
Procedure
- In the Client Side Policy Set Attachment wizard, select
the WSSecurity policy type in the Bindings Configuration table;
then click Configure.
- In the WS-Security binding configuration window, the Digital
Signature Configuration tab and the XML Encryption Configuration tab
both contain areas where you can specify settings for outbound and
inbound messages, Click the Key Store Settings button
in the area where you want to specify key store settings.
- In the Key Store Settings Dialog window:
- 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 the Browse button.
- Type the password for your keystore in the Keystore
Password field.
- Select the type of your key store from the Keystore
Type list.
- Type the alias for your key in the Key Alias field.
- Type the password for your key in the Key
Password field.
- Click OK.
What to do next
Note: The number of fields that are shown in the Key Store
Settings Dialog window depends on the policy set and policy type for
which you are configuring a binding.