title: Exception in thread "main" javax.ws.rs.ProcessingException: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
body: <p>I am new to REST, I have recently developed a small java REST Client to consume an api over SSL (https) using jersey. However, I am challenged with the error below :</p>
  
  <p>Exception in thread "main" javax.ws.rs.ProcessingException: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
  ........
  ........
  Caused by: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name</p>
  
  <p>I read from some posts about disabling SNI in java but I am not clear.
  Since I am using eclispe IDE, I appended  " -Djsse.enableSNIExtension=false" to my eclipse.ini file BUT the error still appears. 
  Can anyone point me in the right direction ? </p>