You can interoperate securely between the web services
assistant and an IBM® WebSphere® Service Registry
and Repository (WSRR) server by using secure socket layer (SSL) encryption.
To use SSL encryption you need a key store and a trust store; you
must also specify certain parameters on the web services assistant.
About this task
Complete the following steps to use SSL encryption for interactions
between the web services assistant and WSRR.
Procedure
- Create a key store for your private keys and public
key certificates (PKC).
- You can create a key store using a key configuration
program such as the IBM Key
Management Utility (iKeyman).
- Specify the SSL-KEYSTORE parameter
in DFHWS2LS or DFHLS2WS with the fully qualified name of the key store
that you have created.
- Optional: Specify the SSL-KEYPWD parameter
in DFHWS2LS or DFHLS2WS with the password of the key store that you
have created.
- Create a trust store for all your trusted root certificate
authority (CA) certificates. These certificates are used to establish
the trust of any inbound public key certificates.
- You can create a trust store using a key configuration
program such as the IBM Key
Management Utility (iKeyman).
- Specify the SSL-TRUSTSTORE parameter
in DFHWS2LS or DFHLS2WS with the fully qualified name of the trust
store that you have created.
- Optional: Specify the SSL-TRUSTPWD parameter
in DFHWS2LS or DFHLS2WS with the password of the trust store that
you have created.
- Test that the web services assistant is able to communicate
with WSRR using SSL encryption.
- You can use the sample files provided by IBM WebSphere Application
Server to test the web services assistant with WSRR.
- The sample key stores provided by WebSphere Application Server are DummyClientKeyFile.jks and DummyServerKeyFile.jks.
- The sample trust stores provided by WebSphere Application Server are DummyClientTrustFile.jks and DummyServerTrustFile.jks.
- Replace the keys in the sample key and trust store files. These keys are shipped with WebSphere Application
Server and must be replaced for security.
Results
The web services assistant can now use SSL encryption to communicate
securely with WSRR across a network.