Selecting a specific client certificate for two-way SSL when keystore has multiple possible client certificates

Solution Verified - Updated -

Issue

  • For JAX-WS (Apache CXF - JBossWS) client with multiple certificates in keystore, which will be sent in response to the server CertificateRequest
  • During SSL handshake process, when server sends 'CertificateRequest' during two-way SSL, how does Java decide which certificate to send if keystore contains multiple certificates.

Environment

  • Java 7, 8
  • Two-way SSL/TLS, or client certificate authentication, with server
  • (optional) Red Hat JBoss Enterprise Application Platform 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.