How to turn off host name verification for a web service client in JBoss EAP?

Solution Unverified - Updated -

Issue

  • The web service client is a standard HTTPS client invoking a JAX-WS web service.
  • Tried adding JVM argument -Dorg.jboss.security.ignoreHttpsHost=true, however, it did not help in disabling host name verification for a cert.
  • How can we turn off host name verification for the web service client?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 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