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

Encryption 无法在WSO2 Identity Server 5.9.0(wso2is)中加密密码,encryption,wso2,wso2is,Encryption,Wso2,Wso2is,我在deployment.toml文件的末尾添加了secrets,并执行了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

我在deployment.toml文件的末尾添加了
secrets
,并执行了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)

如何解决此问题?

此问题已通过报告


它已在最新的密码工具组件中修复。IS5.10.0-GA软件包包括此修复程序,如公认答案中所述,此修复程序在更高版本中已修复。可以找到带有补丁的jar(org.wso2.ciphertool-1.1.9.jar)


您可以删除
/lib
中的密码工具jar,并从上面添加密码工具1.1.9 jar。

最新的wso2am WUM更新包也会出现这种情况。如何修复它?最新的wso2am WUM更新包也会出现这种情况。如何修复它?