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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content