first can you verify the client.jks works with password of 'apache'
keytool -list -keystore client.jks do you see output? Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Date: Sat, 30 Jun 2012 12:22:29 +0200 From: [email protected] Subject: Re: apache rampart examples don't run To: [email protected] CC: [email protected]; [email protected] You do a great job! Thanks! I tryed the samples with 1.6.3-SNAPSHOT. The basic sample08 and sample09 are now running. The problems with policy sample01, sample07 and sample08 still exist. The error log's are attached to this message. I tryed to get policy sample01, sample07 and sample08 run under apache tomcat. - All steps described in [1] and [2] are done. [1] http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html [2] http://axis.apache.org/axis2/java/core/docs/servlet-transport.html policy sample01: - Deploying in tomcat succesful. Do I need a client-side keystore for the example? May be a configuration problem? I tryed out adding the following to policy.xml by using the shipped client keystore (client.jks): <ramp:signatureCrypto> <ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property> <ramp:property name="org.apache.ws.security.crypto.merlin.file">client.jks</ramp:property> <ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password">apache</ramp:property> </ramp:crypto> </ramp:signatureCrypto> And I changed the Port (8443) and the endpoint (https://) in the build.xml. But it does not work. File Err_policy_sample01_client_2.txt shows the error log. policy sample07: - Deploying in tomcat succesful. policy sample08: - Deploying in tomcat succesful. System: Windows XP Professional SP 3 Java JDK 1.7.05 Apache Ant 1.8.4 Apache Tomcat 7.0.26 Apache Axis2 1.6.3-SNAPSHOT built: 28.06.2012 09:25:35 Apache Rampart 1.6.3-SNAPSHOT built: 26.06.2012 08:04:41 Any Ideas? ----- Ursprüngliche Nachricht ----- Von: Sagara Gunathunga <[email protected]> Datum: Donnerstag, Juni 28, 2012 1:07 pm Betreff: Re: apache rampart examples don't run An: [email protected] Cc: HS Harz Nico Scheithauer <[email protected]>, "HS Harz Prof. Dr. Strack" <[email protected]> > We aware with those issues and some of them already have been fixed in > trunk and 1.6 branch, we will address rest of them very soon. Also you > can expect Rampart 1.6.3 release within very short period of time. > Please find my inline answers. > > On Thu, Jun 28, 2012 at 4:00 PM, Steffen Engelmann <[email protected]> > wrote: > > Hi apache rampart developer team, > > > > i've got problems by running the following examples - included in > the apache > > rampart version 1.6.2: > > > > basic > > - sample08 > > - sample09 > > Above two have been fixed in 1.6 branch please test with 1.6.2 > -SNAPSHOTS version [1] [2]. > > > > > policy > > - sample01 > This is not 1.6.2 specific issue you can find same issue on releases > after Axis2 1.5.0. The main reason is Axis2 Simple HTTP server used in > these samples no longer support for HTTPS. You can run this sample in > a Servelet container like Apache Tomcat without any issue. BTW I'm > thinking to add a new sample based Jetty instead this targeting 1.7.X > releases. > > > - sample05 > > - sample06 > > Still not working. > > > > > - sample07 > > - sample08 > > These two should work on 1.6.2 -SNAPSHOTS version [3]. > > [1] - > [2] - > [3] - > > Thanks ! > > > > > the error log's are attached to this message. > > > > is there any known issue, why it doesn't work? > > > > the discribed steps in the JIRA-log (please take a look to the following > > address) are all done: > > > > > > > > System: > > Windows XP Professional SP 3 > > Java JDK 1.7.05 > > Apache Axis2 1.6.2 > > Apache Rampart 1.6.2 > > Apache Ant > > > > thanks a lot > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > -- > Sagara Gunathunga > > Blog - > Web - > LinkedIn - > > --------------------------------------------------------------------- > 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]
