通过管理控制台加密和存储新密码 [英] Encrypting and storing new passwords via the Management Console

查看:238
本文介绍了通过管理控制台加密和存储新密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将密码存储在wso2管理控制台中,以便可以在我的API配置文件中使用别名来引用它。我正在执行以下步骤:
管理->安全保险库工具,然后单击管理密码->
添加新密码以加密和存储:
管理控制台:添加密码别名

I am trying to store password in wso2 management console so that I can refer it using an alias in my API configuration files. I am following below steps: Manage -> Secure Vault Tool and then click Manage Passwords-> Add New Password to encrypt and store: management console: adding password alias

点击添加后,出现以下错误
无法加载安全密钥存储信息,配置secret-conf.properties正确。

After clicking on add I get the below error "Failed to load security key store information ,Configure secret-conf.properties properly"

我正在为这个问题而苦苦挣扎,不知道自己缺少什么。我是ESB的新手。
请帮助。

I am struggling with this issue, don't know what I am missing. I am new to ESB. Please help.

预先感谢。

推荐答案

要启用加密密码,您必须配置ESB_HOME / repository / conf / security / secret-conf.properties文件。您可以使用ESB_HOME / bin中提供的ciphertool.sh自动执行此操作。运行以下命令,并在出现提示时输入 wso2carbon作为密码。它将为您配置文件(并在配置文件中加密一些纯文本密码),

To enable encrypting passwords you have to configure ESB_HOME/repository/conf/security/secret-conf.properties file. You can do it automatically using the ciphertool.sh provided at ESB_HOME/bin. Run following and enter 'wso2carbon' as the password when asked. It will configure the file for you (and encrypt some plain text passwords in the config files),

./ciphertool.sh -Dconfigure

您在服务器启动时再次输入了相同的密码 wso2carbon。有关更多详细信息,请参见此处

You have enter the same password 'wso2carbon' at the server startup again. For more details see here.

这篇关于通过管理控制台加密和存储新密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆