Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
keytool我有一个使用 java命令创建的自签名数字证书。我可以只更新密钥库文件的到期日期,而不创建新的密钥库吗? 有什么帮助吗?
keytool
不重新签署证书就无法更改有效期。但是,您不必创建新的密钥库。只需使用新的到期日期再次签署证书并在密钥库中替换它。