SSL Certificate without host name in it

Posted by Sinuhe on Stack Overflow See other posts from Stack Overflow or by Sinuhe
Published on 2010-03-09T11:17:49Z Indexed on 2010/03/09 11:21 UTC
Read the original article Hit count: 460

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.

© Stack Overflow or respective owner

Related posts about java

Related posts about certificate