WAS v8.5 > Secure applications > Secure web services > Secure web services > Administer Web Services Security > Administer message-level security for JAX-RPC web services > Configure Web Services Security using JAX-RPC at the platform levelConfigure trust anchors on the server level
We can configure a list of keystore objects containing trusted root certificates to be used for certificate path validation of incoming X.509-formatted security tokens.
Prior to completing the steps to configure trust anchors, create the keystore file using the key tool. WebSphere Application Server provides the key tool in the install_dir/java/jre/bin/keytool file.
This task provides the steps that are needed to configure a list of keystore objects containing trusted root certificates. These objects are used for certificate path validation of incoming X.509-formatted security tokens. Keystore objects within trust anchors contain trusted root certificates used by the CertPath API to determine whether to trust a certificate chain.
To configure the trust anchors on the server level:
- Access the default bindings for the server level.
- Click Servers > Server Types > WebSphere application servers > server_name.
- Under Security, click JAX-WS and JAX-RPC security runtime.
In a mixed node cell with a server using WAS v6.1 or earlier, click Web services: Default bindings for Web Services Security.
- Under Additional properties, click Trust anchors.
- Click one of the following to work with trust anchor configuration:
- New
- To create a trust anchor configuration. Enter a unique name for the trust anchor in the Trust anchor name field.
- Delete
- To delete an existing configuration.
- an existing trust anchor configuration
- To edit the settings for an existing trust anchor.
- Specify a password in the Key store password field that is used to access the keystore file.
- Specify the absolute location of the keystore file in the Key store path field. It is recommended that we use the USER_INSTALL_ROOT variable as a portion of the keystore path. To change this predefined variable, click Environment > WebSphere variables. The USER_INSTALL_ROOT variable might display on the second page of variables.
- Specify the type of keystore file in the key store type field. WAS supports the following keystore types:
- JKS
- Use this option if you are not using Java Cryptography Extensions (JCE) and the keystore file uses the Java Key Store (JKS) format.
- JCEKS
- Use this option if you are using Java Cryptography Extensions.
- PKCS11KS (PKCS11)
- Use this option if the keystore file uses the PKCS#11 file format. Keystore 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 the keystore file uses the PKCS#12 file format.
- Click OK and Save to save your configuration.
Results
You have configured trust anchors at the server level.