Hi Isuru,

On Mon, Mar 27, 2017 at 12:48 PM, Isuru Wickramarathne <[email protected]>
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.DeploymentSynchronizer.
> SvnPassword=repository/conf/carbon.xml//Sever/DeploymentSynchronizer/
> 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.
> DeploymentSynchronizer.SvnPassword">password</SvnPassword>
>
>
> *Isuru Wickramarathne*
> Systems Engineer - DevOps | WSO2
>
> Email : [email protected]
> 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
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to