Thanks Guys,

Will be trying it out...

On Thu, Nov 26, 2009 at 3:37 AM, christopherok <
[email protected]> wrote:

>
>
> The script on page (
> http://code.google.com/p/wave-protocol/wiki/Certificates
> ) creates a cert file called $NAME.crt while the run-config file uses
>
> ${WAVE_SERVER_DOMAIN_NAME}.cert -> so you should rename the file
> to .cert or change the line
>
> openssl req -new -x509 -nodes -sha1 -days 365 -key $NAME.key -out
> $NAME.crt
>
> to use $NAME.cert.
>
>
> On Nov 21, 4:05 pm, Wiktor Dolecki <[email protected]> wrote:
> > I'm having similar problem, except that I can't read private key:
> >
> > Exception in thread "main" com.google.inject.ProvisionException: Guice
> > provision errors:
> >
> > 1) could not read certificates
> >   at
> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveSignerProvider.<init>
> > (WaveSignerProvider.java:60)
> > (...)
> >
> > I have followed instructions mentioned at (http://code.google.com/p/
> > wave-protocol/wiki/Certificates). I have also made sure that key and
> > certificate file permisions are -rw-rw-rw-. I have also checked that
> > $PRIVATE_KEY_FILENAME names the right file.
> >
> > Any Ideas what else could I check?
> >
> > On Nov 18, 7:25 pm, Tad Glines <[email protected]> wrote:
> >
> > > You need to follow the instructions here
> > > (http://code.google.com/p/wave-protocol/wiki/Certificates) in order to
> > > create the needed certificate and private key files.
> >
> > > On Tue, Nov 17, 2009 at 8:33 PM, Jason DSouza
> >
> > > <[email protected]> wrote:
> > > > the private key is named by the name of the host itself...
> > > > have I to create a file serperately in a particular location or will
> it be
> > > > created automatically..
> >
> > > > On Wed, Nov 18, 2009 at 12:32 AM, Morgan <[email protected]>
> wrote:
> >
> > > >> seems to me perhaps it's either a file permissions issue or your
> > > >> private key isn't named correctly in the run-config.sh file.
> >
> > > >> On Nov 17, 10:17 am, Crazy JD <[email protected]> wrote:
> > > >> > Exception in thread "main" com.google.inject.ProvisionException:
> Guice
> > > >> > provision errors:
> >
> > > >> >1)couldnotreadprivate key
> > > >> >   at
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveSignerProvider.<init>
> > > >> > (WaveSignerProvider.java:60)
> > > >> >   at
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveSignerProvider.class
> > > >> > (WaveSignerProvider.java:39)
> > > >> >   while locating
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveSignerProvider
> > > >> >   while locating org.waveprotocol.wave.crypto.WaveSigner
> > > >> >     for parameter1at
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.CertificateManagerImpl.<init>
> > > >> > (CertificateManagerImpl.java:76)
> > > >> >   while locating
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.CertificateManagerImpl
> > > >> >   at
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveServerModule.configure
> > > >> > (WaveServerModule.java:79)
> > > >> >   while locating
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.CertificateManager
> > > >> >     for parameter 0 at
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveServerImpl.<init>
> > > >> > (WaveServerImpl.java:403)
> > > >> >   at
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveServerImpl.class
> > > >> > (WaveServerImpl.java:66)
> > > >> >   while locating
> > > >> > org.waveprotocol.wave.examples.fedone.waveserver.WaveServerImpl
> > > >> >   at
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveServerModule.configure
> > > >> > (WaveServerModule.java:81)
> > > >> >   while locating
> > > >> > org.waveprotocol.wave.examples.fedone.waveserver.WaveServer
> > > >> >   while locating
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveletFederationProvider
> > > >> > annotated with
> > > >> >
> @org.waveprotocol.wave.examples.fedone.waveserver.FederationHostBridge
> > > >> > ()
> > > >> >     for parameter 0 at
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.federation.xmpp.XmppFederationHost.<init>
> > > >> > (XmppFederationHost.java:60)
> > > >> >   at
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.federation.xmpp.XmppFederationHost.class
> > > >> > (XmppFederationHost.java:45)
> > > >> >   while locating
> > > >> >
> org.waveprotocol.wave.examples.fedone.federation.xmpp.XmppFederationHost
> > > >> >     for parameter 7 at
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent.<init>
> > > >> > (WaveXmppComponent.java:159)
> > > >> >   at
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent.class
> > > >> > (WaveXmppComponent.java:54)
> > > >> >   while locating
> > > >> >
> org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent
> >
> > > >> >1error
> > > >> >         at
> > > >> > com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:
> > > >> > 770)
> > > >> >         at com.google.inject.internal.InjectorImpl.getInstance
> > > >> > (InjectorImpl.java:796)
> > > >> >         at org.waveprotocol.wave.examples.fedone.ServerMain.run
> > > >> > (ServerMain.java:61)
> > > >> >         at org.waveprotocol.wave.examples.fedone.ServerMain.main
> > > >> > (ServerMain.java:50)
> > > >> > Caused by: java.io.FileNotFoundException: crazyjd.key (No such
> file or
> > > >> > directory)
> > > >> >         at java.io.FileInputStream.open(Native Method)
> > > >> >         at
> java.io.FileInputStream.<init>(FileInputStream.java:106)
> > > >> >         at java.io.FileInputStream.<init>(FileInputStream.java:66)
> > > >> >         at
> >
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveSignerProvider.<init>
> > > >> > (WaveSignerProvider.java:64)
> > > >> >         at
> > > >> >
> org.waveprotocol.wave.examples.fedone.waveserver.WaveSignerProvider
> > > >> > $$FastClassByGuice$$7675e7bc.newInstance(<generated>)
> > > >> >         at
> > > >> >
> com.google.inject.internal.cglib.reflect.FastConstructor.newInstance
> > > >> > (FastConstructor.java:40)
> > > >> >         at
> com.google.inject.internal.DefaultConstructionProxyFactory
> > > >> > $1.newInstance(DefaultConstructionProxyFactory.java:58)
> > > >> >         at
> com.google.inject.internal.ConstructorInjector.construct
> > > >> > (ConstructorInjector.java:80)
> > > >> >         at
> com.google.inject.internal.ConstructorBindingImpl$Factory.get
> > > >> > (ConstructorBindingImpl.java:180)
> > > >> >         at
> > > >> > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call
> > > >> > (ProviderToInternalFactoryAdapter.java:43)
> > > >> >         at com.google.inject.internal.InjectorImpl.callInContext
> > > >> > (InjectorImpl.java:814)
> > > >> >         at
> > > >> > com.google.inject.internal.ProviderToInternalFactoryAdapter.get
> > > >> > (ProviderToInternalFactoryAdapter.java:40)
> > > >> >         at com.google.inject.Scopes$1$1.get(Scopes.java:64)
> > > >> >         at
> > > >> > com.google.inject.internal.InternalFactoryToProviderAdapter.get
> > > >> > (InternalFactoryToProviderAdapter.java:40)
> > > >> >         at com.google.inject.internal.BoundProviderFactory.get
> > > >> > (BoundProviderFactory.java:53)
> > > >> >         at
> com.google.inject.internal.SingleParameterInjector.inject
> > > >> > (SingleParameterInjector.java:38)
> > > >> >         at
> com.google.inject.internal.SingleParameterInjector.getAll
> > > >> > (SingleParameterInjector.java:62)
> > > >> >         at
> com.google.inject.internal.ConstructorInjector.construct
> > > >> > (ConstructorInjector.java:79)
> > > >> >         at
> com.google.inject.internal.ConstructorBindingImpl$Factory.get
> > > >> > (ConstructorBindingImpl.java:180)
> > > >> >         at
> > > >> > com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:51)
> > > >> >         at
> > > >> > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call
> > > >> > (ProviderToInternalFactoryAdapter.java:43)
> > > >> >         at com.google.inject.internal.InjectorImpl.callInContext
> > > >> > (InjectorImpl.java:814)
> > > >> >         at
> > > >> > com.google.inject.internal.ProviderToInternalFactoryAdapter.get
> > > >> > (ProviderToInternalFactoryAdapter.java:40)
> > > >> >         at com.google.inject.Scopes$1$1.get(Scopes.java:64)
> > > >> >         at
> > > >> > com.google.inject.internal.InternalFactoryToProviderAdapter.get
> > > >> > (InternalFactoryToProviderAdapter.java:40)
> > > >> >         at
> com.google.inject.internal.SingleParameterInjector.inject
> > > >> > (SingleParameterInjector.java:38)
> > > >> >         at
> com.google.inject.internal.SingleParameterInjector.getAll
> > > >> > (SingleParameterInjector.java:62)
> > > >> >         at
> com.google.inject.internal.ConstructorInjector.construct
> > > >> > (ConstructorInjector.java:79)
> > > >> >         at
> com.google.inject.internal.ConstructorBindingImpl$Factory.get
> > > >> > (ConstructorBindingImpl.java:180)
> > > >> >         at
> > > >> > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call
> > > >> > (ProviderToInternalFactoryAdapter.java:43)
> > > >> >         at com.google.inject.internal.InjectorImpl.callInContext
> > > >> > (InjectorImpl.java:814)
> > > >> >         at
> > > >> > com.google.inject.internal.ProviderToInternalFactoryAdapter.get
> > > >> > (ProviderToInternalFactoryAdapter.java:40)
> > > >> >         at com.google.inject.Scopes$1$1.get(Scopes.java:64)
> > > >> >         at
> > > >> > com.google.inject.internal.InternalFactoryToProviderAdapter.get
> > > >> > (InternalFactoryToProviderAdapter.java:40)
> > > >> >         at
> > > >> > com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:51)
> > > >> >         at
> > > >> > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call
> > > >> > (ProviderToInternalFactoryAdapter.java:43)
> > > >> >         at com.google.inject.internal.InjectorImpl.callInContext
> > > >> > (InjectorImpl.java:814)
> > > >> >         at
> > > >> > com.google.inject.internal.ProviderToInternalFactoryAdapter.get
> > > >> > (ProviderToInternalFactoryAdapter.java:40)
> > > >> >         at com.google.inject.Scopes$1$1.get(Scopes.java:64)
> > > >> >         at
> > > >> > com.google.inject.internal.InternalFactoryToProviderAdapter.get
> > > >> > (InternalFactoryToProviderAdapter.java:40)
> > > >> >         at
> > > >> > com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:51)
> > > >> >         at
> com.google.inject.internal.SingleParameterInjector.inject
> > > >> > (SingleParameterInjector.java:38)
> > > >> >         at
> com.google.inject.internal.SingleParameterInjector.getAll
> > > >> > (SingleParameterInjector.java:62)
> > > >> >         at
> com.google.inject.internal.ConstructorInjector.construct
> > > >> > (ConstructorInjector.java:79)
> > > >> >         at
> >
> > ...
> >
> > read more ยป
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "Wave Protocol" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<wave-protocol%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/wave-protocol?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>


-- 
Regards,

Jason D'souza.
Pablo Picasso<http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html>
- "Computers are useless. They can only give you answers."

--

You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.


Reply via email to