我将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)
如何解决此问题?
此问题已经通过https://github.com/wso2/product-is/issues/6939报告。
它已经在最新的密码工具组件中修复。 IS5.10.0-GA套件包含此修复程序
如已接受的答案中所述,此问题已在更高版本中修复。可以找到带有修复的jar here(org.wso2.ciphertool-1.1.9.jar)。
您可以删除<HOME>/lib
内的密码工具jar,并从上方添加密码工具1.1.9 jar。