(iSeries)
(Dist) Configure a hardware cryptographic keystore
Create a hardware cryptographic keystore that WebSphere Application Server can use to provide cryptographic token support in the server configuration.
The hardware accelerator is not supported except for the following situations:
- If we are using WAS for z/OS and are using the IBMJCECCA crypto provider.
- If we are using WAS v7.0 and later running on zLinux and are using the IBMPKCS11 provider.
Tasks
- Click Security > SSL certificate and key management > Key stores and certificates.
- Click New.
- Type a name to identify the keystore. This name is used to enable hardware cryptography in the Web Services Security configuration.
- Optionally, we can type a description for the keystore in the Description field.
- We can specify a Management scope for the key store. This is not required. The management scope specifies the scope where this SSL configuration is visible. For example, if we choose a specific node, then the configuration is only visible on that node and any servers that are part of that node.
- Type the path for the hardware device-specific configuration file. The configuration file is a text file containing entries in the following format: attribute = value. The valid values for attribute and value are described in detail in the Software Developer Kit, Java Technology Edition documentation. The two mandatory attributes are name and library, as shown in the following sample code:
name = FooAccelerator library = /opt/foo/lib/libpkcs11.so slotListIndex = 0The configuration file should also include device-specific configuration data. Navigate to the PKCS11ImplConfigSamples.jar file, which contains sample configuration files, under the heading "PKCS 11 Implementation Provider" on the Java technology site http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/topic/com.ibm.java.security.component.60.doc/security-component/introduction.html.Note: JSSE2 is unable to use the IBMPKCS11Impl provider for acceleration.
- Use this link http://www-01.ibm.com/support/knowledgecenter/SSYKE2_5.0.0/com.ibm.java.security.component.doc.50/secguides/pkcs11implDocs/IBMJavaPKCS11ImplementationProvider.html to initialize the IBMPKCS11 provider in a thread safe way
- Specify a unique .cfg file containing information about the supported hardware device. A list of supported hardware devices are available at http://www-01.ibm.com/support/knowledgecenter/SSYKE2_5.0.0/com.ibm.java.security.component.doc.50/secguides/pkcs11implDocs/IBMPKCS11SupportList.html.
- You specify the Signature.getInstance method with the properly initialized IBMPKCS11Impl provider instance as shown.
Signature.getInstance("SHA1withRSA", ibmpkcs11implinstance);
- (iSeries) Type a password if the token login is required. Operations that use keys on the token require a secure login. This field is optional if the keystore is used as a cryptographic accelerator. In this case, we need to select Enable cryptographic operations on hardware device.
- If the token login is required, type the keystore password in the Password field.
Operations that use keys on the token require a secure login. This field is optional if the keystore is used as a cryptographic accelerator. In this case, we need to select the Enable cryptographic operations on hardware device option.
To be compatible with the JCE keystore in requiring a password, the JCERACFKS password is password. Security for this keystore is not really protected using a password as other keystore types, but rather it is based on the identity of the executing thread for protection with RACF. This password is for the keystore file specified in the Path field.
- Select the PKCS11 type.
- Select Read only.
- Click OK and Save.
WAS can now provide cryptographic token support in the server configuration.
Related:
Key management for cryptographic uses