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: [email protected]
Reporter: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]