After searching on wss4j mailing list I found that the following resolves my problem:
1. Download the bouncycastle jar file from: http://www.bouncycastle.org/and place it in your JRE's lib/ext directory java.security file: 2. Add the following line to java.security file of your JRE: security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider 3. restart server/client. After this, the error: No such algorithm: http://www.w3.org/2001/04/xmenc#rsa-1_5 would be nice if this was noted in the readme.txt of Rampart. Thanks, AP On 11/1/07, AP <[EMAIL PROTECTED]> wrote: > > Hi all, > > After Installing rampart 1.3 and clean install of Axis2 1.3 the samples > worked. As I was going through the samples, I found the following issues, > would be great if anyone can give me some tips on how to resolve these. > > 1. All server samples in basic folder started without errors > 2. When executing the clients the following was observed: > > a. samples 1,2,3,4,8 worked perfectly! > b. samples 5,6,7,10,11 all got the same error on the client side: > > [java] Caused by: org.apache.ws.security.WSSecurityException: > WSHandler: E > cryption: error during message > processingorg.apache.ws.security.WSSecurityExcep > ion: An unsupported signature or encryption algorithm was used > (unsupported key > transport encryption algorithm: No such algorithm: > http://www.w3.org/2001/04/xm > enc#rsa-1_5) > > Any advice on how to resolve this? > > c. sample 9 got the following error on client side: > > [java] Caused by: org.apache.ws.security.WSSecurityException: > WSHandler: En > cryption: error during message > processingorg.apache.ws.security.WSSecurityExcept > ion: An unsupported signature or encryption algorithm was used; nested > exception > is: > [java] org.apache.xml.security.encryption.XMLEncryptionException: > Canno > t find any provider supporting AES/CBC/ISO10126Padding > [java] Original Exception was java.security.NoSuchAlgorithmException: > Canno > t find any provider supporting AES/CBC/ISO10126Padding > [java] at org.apache.ws.security.action.EncryptionAction.execute > (Encryp > > > Any advice would be grealy appreciated. > > Thank you very much, > AP > > On 10/31/07, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote: > > > > Have you tried with Rampart 1.3? > > > > Sanjiva. > > > > Andrew Puzankov wrote: > > > Hi, > > > > > > Is there a version of Rampart that works with Axis2 1.3 final release? > > > I saw posts in the forum that Rampart 1.2 has issues with Axis1.3 RC1 > > > but does that issue also exist with Axis 1.3 final release? I am > > trying > > > Rampart 1.2 sample01 (completed all the steps in readme.txt) and > > getting > > > this error when running server for sample01: > > > > > > org.apache.axis2.deployment.DeploymentException: The rampart module is > > > not valid or has not been deployed. > > > > > > Also if I hit the URL of the samples server: > > > > > > http://localhost:8080/axis2/services/ > > > > > > I get the following error: > > > > > > Faulty Services > > > C:\tools\rampart- > > > > > 1.2\samples\basic\build\service_repositories\sample01\services\sample01.aar > > > > > > I've tried various versions of Rampart and all report the same error > > > with Axis2 1.3. Is there a version that works with latest Axis? > > > > > > Thank you, > > > Andrew > > > > -- > > Sanjiva Weerawarana, Ph.D. > > Founder & Director; Lanka Software Foundation; http://www.opensource.lk/ > > Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/ > > Member; Apache Software Foundation; http://www.apache.org/ > > Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >
