Home > Enterprise >  Disable hostname verification on org.jboss.resteasy.client.ClientRequest;
Disable hostname verification on org.jboss.resteasy.client.ClientRequest;

Time:04-12

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.

  • Related