Claudio Pomo
Claudio Pomo

Reputation: 2472

Tomcat keystore exception

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

Answers (1)

Wojciech Owczarczyk
Wojciech Owczarczyk

Reputation: 5745

You have to specify keystore filename instead of '.'

Please refer to this tutorial for more info on using keytool.

Upvotes: 1

Related Questions