无法在WSO2 Identity Server 5.9.0(wso2is)中加密密码

问题描述 投票:0回答:2

我将secrets添加到Deployment.toml文件的末尾并执行ciphertool。但它返回错误为;

Exception in thread "main" java.lang.NullPointerException
    at org.wso2.ciphertool.utils.Utils.resolveKeyStorePath(Utils.java:347)
    at org.wso2.ciphertool.utils.Utils.setSystemProperties(Utils.java:256)
    at org.wso2.ciphertool.CipherTool.initialize(CipherTool.java:127)
    at org.wso2.ciphertool.CipherTool.main(CipherTool.java:60)

如何解决此问题?

encryption wso2 wso2is
2个回答
3
投票

此问题已经通过https://github.com/wso2/product-is/issues/6939报告。

它已经在最新的密码工具组件中修复。 IS5.10.0-GA套件包含此修复程序


1
投票

如已接受的答案中所述,此问题已在更高版本中修复。可以找到带有修复的jar here(org.wso2.ciphertool-1.1.9.jar)。

您可以删除<HOME>/lib内的密码工具jar,并从上方添加密码工具1.1.9 jar。

© www.soinside.com 2019 - 2024. All rights reserved.