Specifying custom SSLSocketFactory for JAX-WS client proxies

Solution Verified - Updated -

Issue

  • We need some guidance on how to specify programmatically at runtime a custom SSLSocketFactory for a JAX-WS client proxy.
  • Setting the keystore and truststore via system properties is not an option.
  • We prefer to stay plain vanilla JAX-WS rather than resorting to something CXF specific.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6.x

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.