Do you not need a password to access a truststore (made with the java keytool)?

前端 未结 4 662
时光说笑
时光说笑 2020-12-09 15:07

I just created a truststore with the java keytool (for server authentication of a server that does not have a CA cert). However I just noticed something strange. I am star

4条回答
  •  天涯浪人
    2020-12-09 16:05

    The password is used to protect the integrity of a keystore. if you don't provide any store password, you can still read the contents of the keystore. The command keytool -list demonstrates this behavior (use it with an empty password).

提交回复
热议问题