WSM-00256: The property "Keystore Encryption Key Alias" is not set error when using
Last updated on JULY 28, 2017
Applies to:Oracle Web Services Manager - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
Trying to attach an x509 v1.1 policy that uses a keystore with a key to encrypt and authenticate the message (oracle/wss11_x509_token_with_message_protection_client_policy on the client side, oracle/wss11_x509_token_with_message_protection_service_policy on the server side). When testing the service, the following error is received:
oracle.wsm.security.SecurityException: WSM-00256 :
The property "Keystore Encryption Key Alias" is not set. The csf map "oracle.wsm.security" found in the credential store is being used and the following keys are found in this map :- [sign-csf-key: serverkey], [enc-csf-key: serverkey], [keystore-csf-key: keystore-csf-key],
The properties found in the JPS config are :- [keystore.provider.type: file], [keystore.sig.csf.key: sign-csf-key], [keystore.csf.map: oracle.wsm.security]
The environment was originally set up to use version 1.0 of the policies (oracle/wss10_x509_token_with_message_protection_client_policy on the client side, oracle/wss10_x509_token_with_message_protection_service_policy on the server side) and the policies were changed without changing anything in the keystore being used, or in the credential store. The original configuration worked fine.
Is there something missing from the mapping configuration, is the configuration different somehow with the different policies?
In the environment. two keystores are being used, one for the server and one for the Client.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms