无法在 WSO2 Identity Server 5.9.0 (wso2is) 中加密密码
Cannot encrypt password in WSO2 Identity Server 5.9.0 (wso2is)
我将 secrets
添加到 deployment.toml 文件的末尾并执行了 ciphertool。但它 returns 是一个错误;
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)
如何解决这个问题?
此问题已通过 https://github.com/wso2/product-is/issues/6939 报告。
在最新的加密工具组件中已经修复。 IS5.10.0-GA 包包含此修复程序
如已接受的答案中所述,此问题已在更高版本中修复。可以找到修复的 jar here(org.wso2.ciphertool-1.1.9.jar).
您可以删除 <HOME>/lib
中的 cipher-tool jar 并从上面添加 cipher-tool 1.1.9 jar。
我将 secrets
添加到 deployment.toml 文件的末尾并执行了 ciphertool。但它 returns 是一个错误;
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)
如何解决这个问题?
此问题已通过 https://github.com/wso2/product-is/issues/6939 报告。
在最新的加密工具组件中已经修复。 IS5.10.0-GA 包包含此修复程序
如已接受的答案中所述,此问题已在更高版本中修复。可以找到修复的 jar here(org.wso2.ciphertool-1.1.9.jar).
您可以删除 <HOME>/lib
中的 cipher-tool jar 并从上面添加 cipher-tool 1.1.9 jar。