On a similar note, I think I'm missing something more basic for my
cacert.org certs to work..

Nov 2, 2009 10:39:13 PM
org.waveprotocol.wave.examples.fedone.waveserver.WaveServerImpl <init>
SEVERE: Failed to add our own signer info to the certificate store
org.waveprotocol.wave.crypto.SignatureException: Certificate validation failure

openssl verify validates the cert just fine though...

On Mon, Nov 2, 2009 at 8:14 PM, Brian May
<[email protected]> wrote:
>
> On Mon, Nov 02, 2009 at 04:29:12PM -0800, Daniel Danopia wrote:
>> Except that the Sandbox doesn't accept them.
>
> :-(
>
> Looks like I might have to pull my head out of the sand then...
>
> With Sun Jave 6 on Debian Lenny using certificates signed by cacert.org, this 
> is
> what I get - the error looks similar although I haven't compared in detail:
>
> louie:/home/wave-protocol$ ./run-server.sh
> Exception in thread "main" com.google.inject.ProvisionException: Guice 
> provision errors:
>
> 1) could not make wave signer
>  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 parameter 1 at 
> 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:395)
>  at 
> org.waveprotocol.wave.examples.fedone.waveserver.WaveServerImpl.class(WaveServerImpl.java:65)
>  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
>
> 1 error
>        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: org.waveprotocol.wave.crypto.SignatureException: 
> java.security.spec.InvalidKeySpecException: 
> java.security.InvalidKeyException: IOException : algid parse error, not a 
> sequence
>        at 
> org.waveprotocol.wave.crypto.WaveSignerFactory.getPrivateKey(WaveSignerFactory.java:113)
>        at 
> org.waveprotocol.wave.crypto.WaveSignerFactory.getSigner(WaveSignerFactory.java:74)
>        at 
> org.waveprotocol.wave.examples.fedone.waveserver.WaveSignerProvider.<init>(WaveSignerProvider.java:73)
>        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 
> 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.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.InjectorImpl$4$1.call(InjectorImpl.java:761)
>        at 
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:807)
>        at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:757)
>        ... 3 more
> Caused by: java.security.spec.InvalidKeySpecException: 
> java.security.InvalidKeyException: IOException : algid parse error, not a 
> sequence
>        at 
> sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:200)
>        at java.security.KeyFactory.generatePrivate(KeyFactory.java:342)
>        at 
> org.waveprotocol.wave.crypto.WaveSignerFactory.getPrivateKey(WaveSignerFactory.java:109)
>        ... 63 more
> Caused by: java.security.InvalidKeyException: IOException : algid parse 
> error, not a sequence
>        at sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:344)
>        at sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:350)
>        at 
> sun.security.rsa.RSAPrivateCrtKeyImpl.<init>(RSAPrivateCrtKeyImpl.java:74)
>        at 
> sun.security.rsa.RSAPrivateCrtKeyImpl.newKey(RSAPrivateCrtKeyImpl.java:58)
>        at 
> sun.security.rsa.RSAKeyFactory.generatePrivate(RSAKeyFactory.java:299)
>        at 
> sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:196)
>        ... 65 more
>
> --
> Brian May <[email protected]>
>
> >
>



-- 
--Matt

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