I have done that already 

security.provider.1=sun.security.provider.Sun
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
security.provider.3=com.sun.rsajca.Provider
security.provider.4=com.sun.crypto.provider.SunJCE
security.provider.5=sun.security.jgss.SunProvider
security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider

and the version that I'm using is jdk.1.4.13

thanks
Vibhor

-----Original Message-----
From: Ruchith Fernando [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 20, 2007 12:28 PM
To: axis-user@ws.apache.org
Subject: Re: Issues with Rampart1.1 and Axis2 1.1.1 (Urgent)

Hi,

Are you on JDK 1.5? If so please follow the steps here :
http://ws.apache.org/axis2/faq.html#a3

axis2 faq -> General #2

Thanks,
Ruchith

On 3/20/07, Vibhor_Sharma <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I downloaded the bcprov-jdk14-136 which is compatible with the jdk1.4
> version and it still gives me the same error.
>
>
>
> The one packaged in rampart1.1 is for jdk1.3   I guess.
>
>
>
> Do I need to generate the certificates with some other algorithm (in
case
> http://www.w3.org/2001/04/xmlenc#rsa-1_5 is not acceptable
> to the provider) so that I can make it work?
>
>
>
> Just wondering if this algorithm is not supported then how come the
sample
> certificates have been shipped with rampart1.1? or is my understanding
> wrong.
>
>
>
> How do I know whether the particular algorithm is supported?
>
>
>
> Thanks
>
> Vibhor
>
>
>
>
>
>
>
>  ________________________________
>
>
> From: Vibhor_Sharma [mailto:[EMAIL PROTECTED]
>  Sent: Tuesday, March 20, 2007 6:52 AM
>  To: axis-user@ws.apache.org; axis-user@ws.apache.org
>  Subject: RE: Issues with Rampart1.1 and Axis2 1.1.1 (Urgent)
>
>
>
>
>
>
>
>
>
> Hi Ruchith
>
>
>    Thanks for the response
>
>
> yes i have copied all the jar files that come along with Rampart/lib
folder
> to the Axi21.1.1 lib folder and that is a part of my classpath.
>
>
>
>
>
> bcprov-jdk13-133.jar to be more precise.
>
>
>
>
>
> Is there any other file that has to be added?
>
>
>
>
>
> Regards
>
>
> Vibhor
>
>
>
>
>
>  ________________________________
>
>
>
> From: Ruchith Fernando [mailto:[EMAIL PROTECTED]
>  Sent: Tue 3/20/2007 12:41 AM
>  To: axis-user@ws.apache.org
>  Subject: Re: Issues with Rampart1.1 and Axis2 1.1.1 (Urgent)
>
>
> Hi Vibhor,
>
>  Do you have the bouncycastle jar (bcprov-*.jar) in the classpath?
>
>  Thanks,
>  Ruchith
>
>  On 3/20/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
>  >
>  >
>  >
>  >
>
>
>  --
>  www.ruchith.org
>  www.wso2.org
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]


-- 
www.ruchith.org
www.wso2.org

---------------------------------------------------------------------
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]

Reply via email to