How to automate Keystore generation using the java keystore tool? w/o user interaction

前端 未结 3 1996
盖世英雄少女心
盖世英雄少女心 2020-12-12 18:54

I am trying to automate keystore generation using the Java keystore tool. The command I am using is :

keytool -keystore keystore -alias jetty -genkey -keyalg         


        
3条回答
  •  执念已碎
    2020-12-12 19:14

    See the full documentation about command line or by typing keytool without any arguments.

    Specifically you may want to look options -storepass password -keypass password

提交回复
热议问题