Hi Nuwan,

This blog post[1] might help you. There is a patch created by Jayanga that
ll provide the facility to pass the password as a parameter(i.e
./ciphertool.sh", "-Dconfigure", "-Dpassword=password)

[1] http://charithaka.blogspot.com/2013/06/how-to-use-securevault-when-wso2-
carbon.html

Thanks
Iqbal

On Sun, Mar 1, 2015 at 9:44 AM, Udara Rathnayake <[email protected]> wrote:

> Adding to Nirodha, if this is purely for local dev/testing you can create
> this file as "password-persist" so it will persists even after server start
>
> On Sun, Mar 1, 2015 at 8:18 AM, Nuwan Wimalasekara <[email protected]>
> wrote:
>
>> Great Thanks Nirodha. It works
>>
>> Thanks,
>> Nuwanw
>>
>> On Sat, Feb 28, 2015 at 6:39 PM, Nirodha Pramod <[email protected]> wrote:
>>
>>> Hi Nuwan,
>>>
>>> You have to create a text file called "password-tmp" (no extenstion) and
>>> set the keystore password in it, and save the file in the carbon_home
>>> folder. When the server is started it reads the password from that file and
>>> deletes the file. So if you are restarting again you will have to create
>>> the file again.
>>>
>>> -Nirodha
>>>
>>> On Sun, Mar 1, 2015 at 8:04 AM, Nuwan Wimalasekara <[email protected]>
>>> wrote:
>>>
>>>> Hi
>>>> Once ciphertool is executed, server start  ask to provide the keystore
>>>> password "Enter KeyStore and Private Key Password :" from command line. So
>>>> if the server is start "./wso2server.sh start", the password can not be
>>>> provided. Is there any command lime parameter to pass the password when
>>>> server start up?
>>>>
>>>> Thanks,
>>>> Nuwanw
>>>>
>>>> --
>>>> Nuwan Wimalasekara
>>>> Senior Software Engineer - Test Automation
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> phone: +94 71 668 4620
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Nirodha Gallage*
>>> Senior Software Engineer, QA.
>>> WSO2 Inc.: http://wso2.com/
>>> Mobile: +94716429078
>>>
>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Udara Rathnayake*
> Software Engineer
> WSO2 Inc. : http://wso2.com
>
> Mobile : 1 4087864651 | 94 772207239
> Twitter : http://twitter.com/udarakr
> Blog    : http://udarakr.blogspot.com
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to