title: Right way to configure Glassfish SSL certificate nickname?
body: <p>Glassfish lets to set the SSL certificate nickname through its admin console as it is highlighted in the pic below:</p>
  
  <p><img src="https://i.stack.imgur.com/f6qJh.jpg" alt="Glassfish Admin Console SSL Configuration UI"></p>
  
  <p>But almost every tutorials in the web mention that it is necessary to replace all occurrences of the default SSL nickname (<code>s1as</code>) with the one will be used(i.e. <code>mydomain.com</code>) in the <code>domain.xml</code> file.</p>
  
  <p>So what is the proper way of setting certificate nickname?</p>