我正在使用Raspberry Pi(Debian 3.1.9+ armv6l linux)和javaSE 7,并且试图通过keytool更改我的trustore密码,但是keytool命令不起作用,所以请您告诉我如何在这种环境下更改我的trustore密码。 。
I tested with Oracle Java SE 8 for ARM and it worked without any problems. First, create a keystore if you have not done that:
keytool -genkey -keyalg rsa -alias tstkey
Once the keystore is setup, you can change the password using
keytool -storepasswd
If you see the following error message when changing the password, it means that the keystore has not been created before, and you have to use keytool -genkey ...
to create it:
pi@raspberrypi ~ $ keytool -storepasswd
keytool error: java.lang.Exception: Keystore file does not exist: /home/pi/.keystore
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.