Skip to content

Cannot run ciphertool.sh -Dconfigure from WSO2_EI/bin directory #34

@chamarasilva

Description

@chamarasilva

Getting below exception while running ciphertool.sh with -Dconfigure option from the WSO2 EI bin directory.
chamara@Chamaras-MBP:~/wso2/products/ei/wso2ei-6.1.1/bin$ sh ciphertool.sh -Dconfigure Exception in thread "main" org.wso2.ciphertool.exception.CipherToolException: File, cipher-standalone-config.properties does not exist. at org.wso2.ciphertool.utils.Utils.setSystemProperties(Utils.java:247) at org.wso2.ciphertool.CipherTool.initialize(CipherTool.java:93) at org.wso2.ciphertool.CipherTool.main(CipherTool.java:52)

According to my analysis "setSystemProperties" method having "homeFolder = currentPath.toAbsolutePath().toString();" instead of "System.getProperty(Constants.CARBON_HOME);" and same issue there on "getKeyStore" in "KeyStoreUtil" class.

In addition to that files are searched through the "<EI_HOME>/repository/conf/security" file path instead of <EI_HOME>/conf/security directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions