SSL Certificate without host name in it
- by Sinuhe
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:
keytool -genkey -alias myAlias -keyalg RSA -keypass myPassword -storepass myPassword -keystore my.keystore -dname "CN=myhost"
But I don't need and I don't like validation by host or by IP. Is there any way of avoiding it?
Thanks.