title: Error : java.security.cert.CertificateException: Illegal given domain name: abc_xyz.stg.myweb.com
body: <p>Hi team i found below exception when calling an api </p>
  
  <blockquote>
    <p><a href="https://abc_xyz.stg.myweb.com/api/AuthorizedUser?username=admin&amp;password=admin" rel="noreferrer">https://abc_xyz.stg.myweb.com/api/AuthorizedUser?username=admin&amp;password=admin</a></p>
    
    <p>java.security.cert.CertificateException: Illegal given domain name</p>
  </blockquote>
  
  <p>when getting response from server using Jersey.
  Everything is fine when i get response from postman.</p>
  
  <p>Why it is illegal domain name, whether browser not refuse to open this.</p>
  
  <p>If my domain name not contains underscore then this exception is not rising.
  Is this problem of underscore in domain name?</p>