You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a jaxrsClient-2.0 (and presumably 2.1) user attempts to disable CN checks for outbound SSL-enabled JAX-RS client calls, the disableCNCheck may not be honored.
In testing a few scenarios, we find that if the disableCNCheck attribute on the webTarget element in server is set to "true", the CN check still occurs. If the user sets the property using a String ("true") when specifying a client property, the CN check also still occurs. If the user specifies a boolean, then the property is honored and the CN check does not occur:
When a jaxrsClient-2.0 (and presumably 2.1) user attempts to disable CN checks for outbound SSL-enabled JAX-RS client calls, the disableCNCheck may not be honored.
In testing a few scenarios, we find that if the
disableCNCheck
attribute on thewebTarget
element in server is set to "true", the CN check still occurs. If the user sets the property using a String ("true") when specifying a client property, the CN check also still occurs. If the user specifies a boolean, then the property is honored and the CN check does not occur:All of these approaches should work for disabling the CN check.
The text was updated successfully, but these errors were encountered: