CertpathTest fails as certificate in test has expired expired
-------------------------------------------------------------
Key: WAVE-292
URL: https://issues.apache.org/jira/browse/WAVE-292
Project: Wave
Issue Type: Bug
Reporter: Jaie Wilson
Priority: Blocker
when running "ant test" the CertpathTest fails as the certificate has expired.
Here is the stacktrace:
{code}
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
13:28:30 EST 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)
{code}
When I ran this test I can see that the certificate expired on sep 09.
{code}
java.security.cert.CertificateExpiredException: NotAfter: Fri Sep 09 13:28:30
EST 2011
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira