title: SSL Certificate without host name in it
body: <p>I have implemented a web service with server and client authentication using keytool. The problem is that this authentication doesn't work if I don't include the name of the host in it. For example:</p>
  
  <pre><code>keytool -genkey -alias myAlias -keyalg RSA -keypass myPassword -storepass myPassword -keystore my.keystore -dname "CN=myhost"
  </code></pre>
  
  <p>But I don't need and I don't like validation by host or by IP. Is there any way of avoiding it?</p>
  
  <p>Thanks.</p>