相关疑难解决方法(0)

Can't change the keystore format

I'm trying to make some keystores using keytool from the latest JRE (version 1.8.0_151). When I create the keystore using this command keytool -genkey -alias serverprivate -keystore server.private -keyalg rsa -storepass apassword -keypass apassword it shows me this warning:

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate 
to  PKCS12 which is an industry standard format using "keytool 
-importkeystore -srckeystore server.private -destkeystore server.private
-deststoretype pkcs12".
Run Code Online (Sandbox Code Playgroud)

So I type the command, and it says it's done and …

java encryption cryptography keystore keytool

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

cryptography ×1

encryption ×1

java ×1

keystore ×1

keytool ×1