小编r3a*_*p3r的帖子

如何使用java密钥库工具自动生成密钥库?没有用户互动

我正在尝试使用Java密钥库工具自动生成密钥库.我使用的命令是:

keytool -keystore keystore -alias jetty -genkey -keyalg RSA
Run Code Online (Sandbox Code Playgroud)

但是在此命令之后,用户需要输入以下输入:

Enter keystore password:  password
What is your first and last name?  
[Unknown]:  jetty.mortbay.org  
What is the name of your organizational unit?  
[Unknown]:  Jetty  
What is the name of your organization?  
[Unknown]:  Mort Bay Consulting Pty. Ltd.  
What is the name of your City or Locality?  
[Unknown]:  
What is the name of your State or Province?  
[Unknown]:  
What is the two-letter country code for this unit?  
[Unknown]:  
Is CN=jetty.mortbay.org, OU=Jetty, O=Mort …
Run Code Online (Sandbox Code Playgroud)

java keystore

82
推荐指数
3
解决办法
3万
查看次数

标签 统计

java ×1

keystore ×1