Enable hardware cryptographic devices for Web Services Security
We can enable Web Services Security using cryptographic hardware devices for both web service clients and web service providers running in the WebSphere Application Server environment. A cryptographic token is a hardware or software device with a built-in keystore implementation. Cryptographic devices are used to manage certificates stored on the cryptographic tokens. These devices are also called smartcards. You enable hardware cryptographic devices for Web Service Security by either using keys stored in hardware devices or using keys stored in a Java keystore file.
Web Services Security using cryptographic hardware devices is supported for both web (JSP or servlet) and EJB web service clients. We can enable Web Services Security using cryptographic hardware devices for both web service clients and web service providers running in the WAS environment.
There are two ways to enable hardware cryptographic devices for Web Service Security: use keys stored in hardware devices or use keys stored in a Java keystore file.
Tasks
- Determine whether to use keys stored in hardware devices or in a Java keystore file for the individual application.
- Enable hardware cryptographic devices for Web Service Security using one of the following two methods:
- Enable cryptographic operations on hardware devices. See Configure hardware cryptographic devices for Web Services Security for more details.
- Enable cryptographic keys stored in hardware devices. See Enable cryptographic keys stored in hardware devices in Web Services Security
Hardware cryptographic devices for Web Services Security are not supported on the Java EE Application Client on distributed platform.
Subtopics
- Configure hardware cryptographic devices for Web Services Security
Before we can use a hardware cryptographic device, configure and enable it. We must first configure a hardware cryptographic device using the SSL certificate and key management panels in the administrative console. The key for the cryptographic operation can be stored in an ordinary Java keystore file and need not be stored on the hardware devices. (ZOS) After completing the alterations to the java.security file, as part of the following procedure, the cryptographic operations are enabled and the Java Virtual Machine (JVM) is able to select the hardware cryptographic device provider.- Enable cryptographic keys stored in hardware devices in Web Services Security
We can enable individual web service applications to use cryptographic keys stored in hardware devices in Web Services Security.
Related:
Overview of standards and programming models for web services message-level security Hardware cryptographic device support for Web Services Security