Reputation: 2472
when I lunch this command:
sudo $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore .
into ubuntu terminal and after I compile the module for generate a keystore I receive this exception:
Errore keytool: java.io.FileNotFoundException: . (Is a directory)
what's the problem?
Upvotes: 0
Views: 338
Reputation: 5745
You have to specify keystore filename instead of '.'
Please refer to this tutorial for more info on using keytool.
Upvotes: 1