I am trying to invoke a rest service by using the abovementioned client. How can i disable hostname verification ?
CodePudding user response:
After some research it seems that the only way to disable hostname verification with RestEasy is to use org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder and setResteasyClientBuilder.HostnameVerificationPolicy.