admin@glassfish.java.net

How to specify client key for mutual authn/SSL web services

From: Jim Whiteley <jimmy_at_whiteley.org>
Date: Wed, 28 Jul 2010 11:22:28 -0600

I have a web app running as a servlet in GlassFish. This web app uses
a WS client to connect to a remote web service. The remote web
service requires mutual x509 authentication over HTTPS. Is there any
way to explicitly tell my WS client which key (by alias) it should use
out of the keystore?