title: java.security.cert.CertPathValidatorException: Certificate chaining error upon webservice call
body: <p>I have added a server cert on my machine and trying to make a webservice call to server through a java program. </p>
  
  <p>If I run the java application while connected to ethernet, I am able to get appropriate response. But If I run it when connected to Wi-Fi, I am getting Certificate chaining error. Both the ethernet and wi-fi belongs to my company network. </p>
  
  <p>Is there a generic reason for this difference?</p>