That's exactly what i need,
Thx!

dkulp wrote:
> 
> 
> 
> Probably not the best answer, but you could possibly take a look at  
> our system test code at:
> http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/security/
> as an example for how to configure things.
> 
> 
> Dan
> 
> 
> 
> On May 14, 2008, at 11:33 AM, Cencio wrote:
> 
>>
>> Hi all,
>>
>> i'm trying to set up a sample with WS-Security encrypt and/or sign.  
>> (didn't
>> found crypt in samples or userguide)
>>
>> let's suppose i create the certificate following the steps in the  
>> userguide:
>>
>> keytool -genkey -alias myAlias -keypass myAliasPassword -keystore
>> privatestore.jks  -storepass keyStorePassword -dname "cn=myAlias" - 
>> keyalg
>> RSA
>> keytool -selfcert -alias myAlias -keystore privatestore.jks -storepass
>> keyStorePassword -keypass myAliasPassword
>> keytool -export -alias myAlias -file key.rsa -keystore  
>> privatestore.jks
>> -storepass keyStorePassword
>> keytool -import -alias myAlias  -file key.rsa -keystore  
>> publicstore.jks
>> -storepass keyStorePassword
>>
>> How should be the client/server spring config to encrypt messages?
>>
>> Thx,
>> Lorenzo
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/WS-Security-sample-tp17233988p17233988.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
> 
> ---
> Daniel Kulp
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WS-Security-sample-tp17233988p17248182.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to