El 09/11/11 21:13, Linus Ericsson escribió: > Hi there! > > I'm really curios about this project, recently started working with testing > and developing a quite complex GWT application. I'm very much into see how > the tests works, and how the operation transformation things works out in > practice (ie real life simplifications). > > Just followed the instructions to compile at [1], hg clone ... and make an > ant-build, and I get one error that goes like this: > > CertpathTesttestValidator_canGrokCriticalExtensionErrorCertificate > validation failure > > org.waveprotocol.wave.crypto.SignatureException: Certificate validation > failure > at > org.waveprotocol.wave.crypto.CachedCertPathValidator.validateNoCache(CachedCertPathValidator.java:103) > at > org.waveprotocol.wave.crypto.CachedCertPathValidator.validate(CachedCertPathValidator.java:65) > at > org.waveprotocol.wave.crypto.CertpathTest.testValidator_canGrokCriticalExtension(CertpathTest.java:96) > Caused by: java.security.cert.CertPathValidatorException: timestamp check > failed > at > sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:139) > at > sun.security.provider.certpath.PKIXCertPathValidator.doValidate(PKIXCertPathValidator.java:328) > at > sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:178) > at java.security.cert.CertPathValidator.validate(CertPathValidator.java:250) > at > org.waveprotocol.wave.crypto.CachedCertPathValidator.validateNoCache(CachedCertPathValidator.java:101) > Caused by: java.security.cert.CertificateExpiredException: NotAfter: Fri > Sep 09 05:28:30 CEST 2011 > at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:256) > at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:570) > at > sun.security.provider.certpath.BasicChecker.verifyTimestamp(BasicChecker.java:157) > at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:109) > at > sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:117)How > do I generate/get a cerificate which makes this test happy? (and could that > be added in the instructions at [1]?) > > Also, this dist/waveinabox-server-0.3.jar is not created, apparently since > something went wrong in the build process, right? > > [1] http://www.waveprotocol.org/code > > Kind regards, > Linus Ericsson >
Yep, known issue: https://issues.apache.org/jira/browse/WAVE-292 Follow the workaround. By the way, anybody knows how to create a similar certificate for this test? Because I tried without success. Bests, -- Vicente J. Ruiz Jurado http://comunes.org http://ourproject.org http://homes.ourproject.org/~vjrj/blog (@vjrj) "Happiness is when what you think, what you say, and what you do are in harmony" [Mahatma Gandhi]
