Subscription is not yet active for another XX yr java.security.cert.CertificateNotYetValidException: NotBefore:

Article ID:204750350
1 minute readKnowledge base

Issue

  • CloudBees Jenkins Enterprise is asking to register product but you already have a license

  • You get a similar stacktrace than the one below:

Subscription is not yet active for another 19 yr java.security.cert.CertificateNotYetValidException: NotBefore: Mon Jan 26 15:01:10 EST 2015 at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:269) at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:575) at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:548) at hudson.license.License.(License.java:155)

Environment

  • CloudBees Jenkins Enterprise

Resolution

This stack trace happens when the system date of your CloudBees Jenkins Enterprise controller is wrong, usually by some years before the right date.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.