java keytool命令的import和importcert之间有什么区别 1 月,3 周 Questions & Answers 7117 我被告知使用keytool命令向密钥库文件添加证书(.crt格式)。这里需要使用什么选项,导入或-importcert。什么时候使用
# 1 楼答案 从本文档keytool - Key and Certificate Management Tool中,页面末尾的更改部分说: Renamed commands: -import, renamed to -importcert 因此,它们基本上是相同的,尽管被重命名,-import应该在以后仍然存在: All previous commands (both renamed and obsolete) are still supported in this release and will continue to be supported in future releases. 请注意,这是来自JavaSE7文档,但JavaSE8(unix/windows)的文档也表示: This command was named -import in earlier releases. This old name is still supported in this release. The new name, -importcert, is preferred going forward.
# 1 楼答案
从本文档keytool - Key and Certificate Management Tool中,页面末尾的更改部分说:
因此,它们基本上是相同的,尽管被重命名,
-import
应该在以后仍然存在:请注意,这是来自JavaSE7文档,但JavaSE8(unix/windows)的文档也表示: