Key locator configuration settings

Use this page to specify the settings for a key locator configuration. The key locators retrieve keys from the keystore file for digital signature and encryption. WebSphere® Application Server enables you to plug in a custom key locator configuration.

To view this WAS administrative console page for the key locator collection on the server level, complete the following steps:

  1. Click Servers > Application servers > server_name.

  2. Under Security, click Web services: Default bindings for Web services security.

  3. Under Additional properties, click Key locators.

  4. Click New to create a new configuration or click the name of a configuration to modify its settings.

To use this WAS administrative console page for the key locator collection on the application level, complete the following steps:

  1. Click Applications > Enterprise applications > application_name.

  2. Under Related items, click EJB modules or Web modules > URI_name.

  3. Under Additional properties, you can access key locators for the following bindings:

    • For the Request generator, click Web services: Client security bindings. Under Request generator (sender) binding, click Edit custom > Key locators.

    • For the Request consumer, click Web services: Server security bindings. Under Request consumer (receiver) binding, click Edit custom > Key locators.

    • For the Response generator, click Web services: Server security bindings. Under Response generator (sender) binding, click Edit custom > Key locators.

    • For the Response consumer, click Web services: Client security bindings. Under Response consumer (receiver) binding, click Edit custom > Key locators.

  4. Click New to create a new configuration or click the name of a configuration to modify its settings.

 

Related reference

Key locator collection

Key collection

Key configuration settings

 

Key locator name

Specifies the name of the key locator.

 

Key locator class name

Specifies the name for the key locator class implementation.

Key locators that are associated with v6.x applications must implement the com.ibm.wsspi.wssecurity.keyinfo.KeyLocator interface. WAS provides the following default key locator class implementations for v6.x applications:

com.ibm.wsspi.wssecurity.keyinfo.KeyStoreKeyLocator

This implementation locates and obtains the key from the specified keystore file.

com.ibm.wsspi.wssecurity.keyinfo.SignerCertKeyLocator

This implementation uses the public key from the certificate of the signer. This class implementation is used by the response generator.

com.ibm.wsspi.wssecurity.keyinfo.X509TokenKeyLocator

This implementation uses the X.509 security token from the sender message for digital signature validation and encryption. This class implementation is used by the request consumer and the response consumer.

 

Key store password

Specifies the password that is used to access the keystore file.

 

Key store path

Specifies the location of the keystore file.

 

Key store type

Specifies the type of keystore file.

JKS

Use this option if you are not using Java™ Cryptography Extensions (JCE) and if your keystore file uses the Java Keystore (JKS) format.

JCEKS

Use this option if you are using Java Cryptography Extensions.

PKCS11KS (PKCS11)

Use this format if your keystore file uses the PKCS#11 file format. Keystores files that use this format might contain Rivest Shamir Adleman (RSA) keys on cryptographic hardware or might encrypt keys that use cryptographic hardware to ensure protection.

PKCS12KS (PKCS12)

Use this option if your keystore file uses the PKCS#12 file format.