Our certificates are about to expire and I need to generate new ones for 
tomcat. I'm using keytool, but getting a strange error.

[root]# keytool -genkey -alias tomcat -keyalg RSA -keysize 2048  -keystore 
keystore
Enter keystore password:
keytool error: java.lang.Exception: Key pair not generated, alias <tomcat> 
already exists

ok, fair enough, so I try and delete it and I get this:

[roots]# keytool -delete -alias tomcat
keytool error: java.io.EOFException

failing being able to do it in keytool, is it possible to delete the entire 
keychain and start from scratch? If so how?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to