Hi,

The issue here seems to be with the validity of the certificate that we are
using for the sample.  I have now made the validity period as 4000 days :)
as I could not figure out a 'valid indefinitely' option.  Here is the
command I used for generating the keystore and the new key used in the
sample.

keytool -genkey - alias TuscanyWsUser -keyalg RSA -keystore
helloworldKeys.jks

I'll relook the FAQ to see if I can make it any clear.

Thanks

- Venkat



On Jan 17, 2008 11:47 PM, Simon Laws <[EMAIL PROTECTED]> wrote:

> On Jan 17, 2008 5:49 PM, Raymond Feng <[EMAIL PROTECTED]> wrote:
>
> > Hi, Venkat.
> >
> > Can you explain why/how to regenerate the keystore? We were struggling
> > with
> > this issue last week.
> >
> > Thanks,
> > Raymond
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, January 17, 2008 9:45 AM
> > Subject: svn commit: r612887 - in
> > /incubator/tuscany/branches/sca-java-1.1
> > /samples/helloworld-ws-service-secure/src:
> > main/resources/helloworldKeys.jks
> > test/java/helloworld/HelloWorldServerTestCase.java
> >
> >
> > > Author: svkrish
> > > Date: Thu Jan 17 09:45:18 2008
> > > New Revision: 612887
> > >
> > > URL: http://svn.apache.org/viewvc?rev=612887&view=rev
> > > Log:
> > > regenerated the keystore and uncommented the test
> > >
> > > Modified:
> > >
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks
> > >
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > >
> > > Modified:
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks
> > > URL:
> > >
> >
> http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/main/resources/helloworldKeys.jks?rev=612887&r1=612886&r2=612887&view=diff
> > >
> >
> ==============================================================================
> > > Binary files - no diff available.
> > >
> > > Modified:
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > > URL:
> > >
> >
> http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java?rev=612887&r1=612886&r2=612887&view=diff
> > >
> >
> ==============================================================================
> > > ---
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > > (original)
> > > +++
> > > incubator/tuscany/branches/sca-java-1.1
> >
> /samples/helloworld-ws-service-secure/src/test/java/helloworld/HelloWorldServerTestCase.java
> > > Thu Jan 17 09:45:18 2008
> > > @@ -46,13 +46,13 @@
> > >  new Socket("127.0.0.1", 8085);
> > >  }
> > >
> > > -    /[EMAIL PROTECTED]
> > > +    @Test
> > >     public void testServiceCall() throws IOException {
> > >         HelloWorldService helloWorldService =
> > > scaDomain.getService(HelloWorldService.class,
> > > "HelloWorldServiceComponent/HelloWorldService");
> > >         assertNotNull(helloWorldService);
> > >
> > >         assertEquals("Hello Smith",
> > > helloWorldService.getGreetings("Smith"));
> > > -    }*/
> > > +    }
> > >
> > >  @After
> > >  public void stopServer() throws Exception {
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> > Yeah - I followed the lengthy instructions linked off your FAQ entry but
> it failed. There we so many variables/things that I could have done wrong
> I
> moved onto other things.
>
> Simon
>

Reply via email to