The client requires the signer certificates from the server to be able to communicate with WebSphere Application Server. Use the retrieveSigners command to get the signer certificate from a server. The retrieveSigners utility is located in one of the following directories, depending on your operating system:
In this release, a Java client that does not have access to a stdin console prompt should use the retrieveSigners utility to download the signers from the remote server key store when signers are needed for a Secure Sockets Layer (SSL) handshake. For example, you might interpret the client as failing to respond if an applet client or Java Web Start Client application cannot access the stdin signer exchange prompt. Thus, add the WebSphere Java method call com.ibm.wsspi.ssl.RetrieveSignersHelper.callRetrieveSigners to your client application to retrieve the signers and to avoid running the retrieveSigners utility manually.
Use the retrieveSigners utility for situations where you cannot verify whether or not the com.ibm.ssl.enableSignerExchangePrompt= property is enabled or disabled when the application makes a request. Set the com.ibm.ssl.enableSignerExchangePrompt= property to false in the ssl.client.props file if you cannot see the console.
Alternatively, you can manually create the server key in the client truststore.
/QIBM/UserData/WebSphere/AppServer/V61/ND/profiles/AppSrv01/bin/retrieveSigners CellDefaultTrustStore ClientDefaultTrustStore CWPKI0308I: Adding signer alias "default_signer" to local keystore "ClientDefaultTrustStore" with the following SHA digest:
See the following examples of how to call the retrieveSigners file on the Windows operating system: To retrieve signers on the same system, enter:
'profile_home'/bin/retrieveSigners CellDefaultTrustStore ClientDefaultTrustStoreTo retrieve signers on a remote system with a SOAP connection, enter:
'profile_home'/bin/retrieveSigners CellDefaultTrustStore ClientDefaultTrustStore -host myRemoteHost -port 8879 -conntype SOAP -autoAcceptBootstrapSignerTo retrieve signers on a remote system that has security enabled, enter:
'profile_home'/bin/retrieveSigners CellDefaultTrustStore ClientDefaultTrustStore -host myRemoteHost -port 8879 -conntype SOAP -user testuser -password testuserpwd -autoAcceptBootstrapSignerTo retrieve signers on a remote system that has security enabled, enter:
'profile_home'/bin/retrieveSigners CellDefaultTrustStore ClientDefaultTrustStore -host myRemoteHost -port 8879 -conntype SOAP -user testuser -password testuserpwd -autoAcceptBootstrapSigner