【问题标题】:Cipher Tool is not encrypting password密码工具未加密密码
【发布时间】:2023-02-03 07:53:50
【问题描述】:

我在 Windows 10 上使用 WSO2 Integration Studio 8.1.0,我安装了 Ant(Apache Ant 1.10.12)并将 ANT bin 目录(ANT_HOME)添加到路径系统变量。

在我位于Integration_Studio_Home\runtime\microesb\confdeployment.toml 文件中。

我在秘密标题下添加了以下内容

[secrets]
admin_password  = "adminUserPassword"

然后打开cmd并导航到Integration_Studio_Home\runtime\microesb\bin

然后执行ciphertool.bat -Dconfigure

结果:

.\wso2\lib\Saxon-HE-9.5.1-8.jar
Using CARBON_HOME:   C:\WSO2\INTEGR~1\runtime\microesb\bin\..
Using JAVA_HOME:    C:\Program Files\Java\jdk-11.0.12

Encrypting using Internal KeyStore.
{type: JKS, alias: wso2carbon, path: repository/resources/security/wso2carbon.jks}

[Please Enter Internal KeyStore Password of Carbon Server : ]

Internal KeyStore of Carbon Server is initialized Successfully


Secret Configurations are written to the property file successfully

但是当我打开deployment.toml的时候发现secrets部分下的密码没有加密!

【问题讨论】:

    标签: wso2 wso2-esb wso2-enterprise-integrator wso2-integration-studio wso2-cipher


    【解决方案1】:

    您需要在方括号[] 之间定义秘密值。在您的情况下,应该如下所示,

    [secrets]
    admin_password  = "[adminUserPassword]"
    

    此外,如果您使用的是嵌入式 MI 运行时,则可以使用 Integration Studio 本身来加密机密。看看Encrypt static (embedded) server secrets

    有关更多信息,请查看

    【讨论】:

      猜你喜欢
      • 2010-10-23
      • 1970-01-01
      • 1970-01-01
      • 2019-07-07
      • 2012-10-11
      • 2010-09-05
      • 2010-11-06
      相关资源
      最近更新 更多