On Mon, Sep 10, 2012 at 7:37 AM, Selvaratnam Uthaiyashankar <
[email protected]> wrote:

>
>
> On Friday, September 7, 2012, Lahiru Sandaruwan wrote:
>
>> Hi all,
>>
>> We have developed a CLI Tool for managing artifacts and instances for
>> Cartridges.
>> (Stratos tenants are the users of this CLI Tool)
>>
>> So before any operation, client will be authenticated against ADS
>> (Artifact Deployment Server). ADS will be a part of Stratos server stack in
>> the future.
>>
>> CLI client side, it needs to set KeyStore files to provide certificates
>> as follows.
>>
>>       System.setProperty("javax.net.ssl.trustStore", KEY_STORE_FILE);
>>       System.setProperty("javax.net.ssl.trustStorePassword", PASSWORD);
>>
>> Is it okay to provide the keystore file to users with the CLI Tool?
>>
>
> What you need is, keystore with only public key of the server. No private
> keys. Hence, it is ok to provide the keystore to users.
>
+1

>
> Shankar
>
>
>
>
>>
>> Thanks.
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Cloud Team,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: [email protected] cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>
>
> --
> S.Uthaiyashankar
> Director, Cloud Solutions
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
>
> Phone: +94 714897591
>



-- 
--
Lahiru Sandaruwan
Software Engineer,
Cloud Team,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: [email protected] cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to