Hi Isuru, I tried this locally by adding to the SvnPassword to cipher-tool.properties and cipher-text.properties and then ran cipher-tool.sh -Dconfigure and it encrypted without any issue.
cipher-tool.properties: Carbon.DeploymentSynchronizer.SvnPassword=repository/conf/carbon.xml//Server/DeploymentSynchronizer/SvnPassword,false cipher-text.properties: Carbon.DeploymentSynchronizer.SvnPassword=[password] Regards, Nira On Mon, Mar 27, 2017 at 2:15 PM, Isuru Wickramarathne <isuru...@wso2.com> wrote: > Hi Niranjan, > > I tried that as well. But the same issue is popping up again. > > On Mon, Mar 27, 2017 at 2:09 PM, Niranjan Karunanandham <niran...@wso2.com > > wrote: > >> Hi Isuru, >> >> On Mon, Mar 27, 2017 at 12:48 PM, Isuru Wickramarathne <isuru...@wso2.com >> > wrote: >> >>> Hi all, >>> >>> I tried to encrypt AS 5.3.0 configuration file's passwords using secure >>> vault, It encrypts all the other passwords except SVN password and it gives >>> the following error >>> >>> Exception in thread "main" >>> org.wso2.ciphertool.exception.CipherToolException: >>> Element for secret alias 'Carbon.DeploymentSynchronizer.SvnPassword' >>> can not be found in repository/conf/carbon.xml file or You have entered >>> invalid Xpath value >>> >>> but it works AS 5.2.1 with same configurations. Please find the relevant >>> lines in configuration files relates to the SVN password encryption. >>> >>> cipher-text.properties -> >>> -- Carbon.DeploymentSynchronizer.SvnPassword=[admin] >>> >>> cipher-tool.properties ->Carbon.DeploymentSynchronize >>> r.SvnPassword=repository/conf/carbon.xml//Sever/DeploymentSy >>> nchronizer/SvnPassword,true >>> >> In 4.4.x, the value at the end should be changed from true to false. This >> is explained in [1]. >> >> >>> >>> carbon.xml --> <SvnPassword svns:secretAlias="Carbon.Deplo >>> ymentSynchronizer.SvnPassword">password</SvnPassword> >>> >>> >>> *Isuru Wickramarathne* >>> Systems Engineer - DevOps | WSO2 >>> >>> Email : isuru...@wso2.com >>> Mobile : +94713707561 <+94%2071%20370%207561> >>> Web : http://wso2.com >>> <http://wso2.com/signature> >>> >> >> [1] - https://docs.wso2.com/display/Carbon444/Enabling+Cipher+ >> Tool+for+Password+Encryption >> >> Regards, >> Nira >> >> -- >> >> >> *Niranjan Karunanandham* >> Associate Technical Lead - WSO2 Inc. >> WSO2 Inc.: http://www.wso2.com >> >> > > > -- > *Isuru Wickramarathne* > Systems Engineer - DevOps | WSO2 > > Email : isuru...@wso2.com > Mobile : +94713707561 <+94%2071%20370%207561> > Web : http://wso2.com > <http://wso2.com/signature> > -- *Niranjan Karunanandham* Associate Technical Lead - WSO2 Inc. WSO2 Inc.: http://www.wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev