Encrypting and storing new passwords via the Management Console

我只是一个虾纸丫 提交于 2019-12-11 05:07:09

问题


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

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

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

Thanks in advance.


回答1:


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

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



来源:https://stackoverflow.com/questions/37706463/encrypting-and-storing-new-passwords-via-the-management-console

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!