Looking at your service.xml and axis2.xml I found out that I use the property of the "passwordCallbackClass" in all my inflow and outflow handlers.
On 3/20/07, Konstantinos Pateras <[EMAIL PROTECTED]> wrote:
On second thought Rampart uses the Merlin JCE so probably this is not your problem. I managed to encrypt and decrypt the message without getting this message that you are getting. I used the "portecle-1.2" tool to create the self-signed keys and export/import the certificates to keystores. I used RSA and SHA1withRSA algorithms. On 3/20/07, Vibhor_Sharma <[EMAIL PROTECTED]> wrote: > Thanks > I did that and copied the files in my jre/security folder > But it does not help it gives the same error as before. > > I guess you are also trying to do the same (encrypt, decrypt) the soap > request. Did you get the same error as I'm getting? > > I have tried signing the message and it works fine but creates problem > While encrypting. > > Has any body faced such problem? > > -----Original Message----- > From: Konstantinos Pateras [mailto:[EMAIL PROTECTED] > Sent: Monday, March 19, 2007 6:15 PM > To: [email protected] > Subject: Re: Issues with Rampart1.1 and Axis2 1.1.1 (Urgent) > > Hi, > > I think that JDK 1.4.x has some policy restrictions so you must > download the Java Cryptography Extension (JCE) Unlimited Strength > Jurisdiction Policy Files 1.4.2 (jce_policy-1_4_2.zip) from SUN and > install them in your JRE (it is just a copy paste). > > On 3/19/07, Vibhor_Sharma <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi > > > > I have the following configuration > > > > > > > > JDK1.4.2.13 > > > > JBOSS 4.0.5 (axis21.1.1 war deployed on it) > > > > Axis2 1.1.1 > > > > Rampart 1.1 > > > > Used the same certificate store and properties file that are shipped > with > > Rampart binary distribution > > > > > > > > I'm trying to send and receive a message that is digitally sign and > > encrypted. > > > > I'm have used the same guidelines as mentioned in the sample6 of > Rampart1.1 > > binary distribution. When I try to access the service I get the > following > > error. > > > > Any help would really be appreciated. If I'm missing something please > let me > > know. > > > > > > > > > > > > > > > > [java] org.apache.axis2.AxisFault: WSHandler: Encryption: error > during > > message > > processingorg.apache.ws.security.WSSecurityException: An > > unsupported signatu > > > > re or encryption algorithm was used (unsupported key transport > encryption > > algorithm: No such algorithm: > > http://www.w3.org/2001/04/xmlenc#rsa-1_5); nested except > > > > ion is: > > > > [java] org.apache.ws.security.WSSecurityException: > > WSHandler: Encryption: error during message > > processingorg.apache.ws.security.WSSecurityException: An > > > > unsupported signature or encryption algorithm was used (unsupported > key > > transport encryption algorithm: No such algorithm: > > http://www.w3.org/2001/04/xmlenc#rsa > > > > -1_5) > > > > [java] at > > > org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.ja > va:92) > > > > [java] at > > > org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:74) > > > > [java] at > > org.apache.axis2.engine.Phase.invoke(Phase.java:382) > > > > [java] at > > org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522 > > > > ) > > > > [java] at > > org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:655) > > > > [java] at > > > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper > ation.java:237) > > > > [java] at > > > org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO > peration.java:202) > > > > [java] at > > > com.gryphonnetworks.ws.certify.stub.CertifyChannelStub.certifyContact(Un > known > > Source) > > > > [java] at > > com.gryphonnetworks.ws.certify.client.CertifyClient.main(Unknown > > Source) > > > > [java] at > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > [java] at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > > > > [java] at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > > > > [java] at java.lang.reflect.Method.invoke(Method.java:324) > > > > [java] at > > org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202) > > > > [java] at > > > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134) > > > > [java] at > > org.apache.tools.ant.taskdefs.Java.run(Java.java:710) > > > > [java] at > > org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178) > > > > > > > > [java] at > > org.apache.tools.ant.taskdefs.Java.execute(Java.java:84) > > > > [java] at > > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) > > > > [java] at > > org.apache.tools.ant.Task.perform(Task.java:364) > > > > [java] at > > org.apache.tools.ant.Target.execute(Target.java:341) > > > > [java] at > > org.apache.tools.ant.Target.performTasks(Target.java:369) > > > > [java] at > > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) > > > > [java] at > > > org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe > ckExecutor.java:37) > > > > [java] at > > org.apache.tools.ant.Project.executeTargets(Project.java:1068) > > > > [java] at > > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) > > > > [java] at > > org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107) > > > > [java] at > > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) > > > > [java] at > > org.apache.tools.ant.Task.perform(Task.java:364) > > > > [java] at > > org.apache.tools.ant.Target.execute(Target.java:341) > > > > [java] at > > org.apache.tools.ant.Target.performTasks(Target.java:369) > > > > [java] at > > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) > > > > [java] at > > org.apache.tools.ant.Project.executeTarget(Project.java:1185) > > > > > > > > [java] at > > > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut > or.java:40) > > > > [java] at > > org.apache.tools.ant.Project.executeTargets(Project.java:1068) > > > > [java] at > > org.apache.tools.ant.Main.runBuild(Main.java:668) > > > > [java] at > > org.apache.tools.ant.Main.startAnt(Main.java:187) > > > > [java] at > > org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) > > > > [java] at > > org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) > > > > [java] Caused by: > > org.apache.ws.security.WSSecurityException: WSHandler: > > Encryption: error during message > > processingorg.apache.ws.security.WSSecurityExcept > > > > ion: An unsupported signature or encryption algorithm was used > (unsupported > > keytransport encryption algorithm: No such algorithm: > > http://www.w3.org/2001/04/xml > > > > enc#rsa-1_5) > > > > [java] at > > > org.apache.ws.security.action.EncryptionAction.execute(EncryptionAction. > java:64) > > > > [java] at > > > org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:1 > 92) > > > > [java] at > > > org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java > :254) > > > > [java] at > > > org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.ja > va:86) > > > > [java] ... 38 more > > > > > > > > Thanks > > > > Vibhor > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
