You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/03/03 06:34:39 UTC

[Bug 57655] New: org.apache.tomcat.util.net.TestSsl.testKeyPass fails due to expired certificate

https://bz.apache.org/bugzilla/show_bug.cgi?id=57655

            Bug ID: 57655
           Summary: org.apache.tomcat.util.net.TestSsl.testKeyPass fails
                    due to expired certificate
           Product: Tomcat 8
           Version: 8.0.20
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Util
          Assignee: dev@tomcat.apache.org
          Reporter: ian.luo@gmail.com

org.apache.tomcat.util.net.TestSsl.testKeyPass fails and the following
exception is reported:

Caused by: java.security.cert.CertificateExpiredException: NotAfter: Sat Feb 28
13:28:42 CST 2015
    at
sun.security.x509.CertificateValidity.valid(CertificateValidity.java:273)
    at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:575)
    at
sun.security.provider.certpath.BasicChecker.verifyTimestamp(BasicChecker.java:184)
    at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:136)
    at
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:133)
    ... 56 more

The following output message shows the certificate has been expired by
executing keytool command under test/org/apache/tomcat/util/net

$ keytool -printcert -file localhost-cert.pem
Owner: CN=localhost, C=US
Issuer: CN=ca-test.tomcat.apache.org, C=US
Serial number: 1003
Valid from: Thu Feb 28 13:28:42 CST 2013 until: Sat Feb 28 13:28:42 CST 2015

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 57655] org.apache.tomcat.util.net.TestSsl.testKeyPass fails due to expired certificate

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57655

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Already fixed in trunk. See r1662985, r1662986 & r1662987.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org