- 以下为错误原因,主要是虚拟机的时间和北京时间不一致造成的
java.security.cert.CertificateNotYetValidException: NotBefore: Tue Mar 26 10:14:30 UTC 2024
jenkins-jenkins-1 | 2024-03-25 19:36:03.946+0000 [id=72] INFO h.model.UpdateCenter$DownloadJob#run: Starting the installation of gitee on behalf of admin
jenkins-jenkins-1 | 2024-03-25 19:36:03.947+0000 [id=72] INFO h.m.UpdateCenter$UpdateCenterConfiguration#download: Downloading gitee
jenkins-jenkins-1 | 2024-03-25 19:36:05.589+0000 [id=72] SEVERE h.model.UpdateCenter$DownloadJob#run: Failed to install gitee
jenkins-jenkins-1 | java.security.cert.CertificateNotYetValidException: NotBefore: Tue Mar 26 10:14:30 UTC 2024
jenkins-jenkins-1 | at java.base/sun.security.x509.CertificateValidity.valid(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.x509.X509CertImpl.checkValidity(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.provider.certpath.BasicChecker.verifyValidity(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.provider.certpath.BasicChecker.check(Unknown Source)
jenkins-jenkins-1 | Caused: java.security.cert.CertPathValidatorException: validity check failed
jenkins-jenkins-1 | at java.base/sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(Unknown Source)
jenkins-jenkins-1 | at java.base/java.security.cert.CertPathValidator.validate(Unknown Source)
jenkins-jenkins-1 | Caused: sun.security.validator.ValidatorException: PKIX path validation failed
jenkins-jenkins-1 | at java.base/sun.security.validator.PKIXValidator.doValidate(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.validator.Validator.validate(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
jenkins-jenkins-1 | Caused: javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
jenkins-jenkins-1 | at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect0(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
jenkins-jenkins-1 | at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
jenkins-jenkins-1 | at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1323)
jenkins-jenkins-1 | Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/gitee/1170.v3d4640b_34233/gitee.hpi to /var/jenkins_home/plugins/gitee.jpi.tmp
jenkins-jenkins-1 | at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1334)
jenkins-jenkins-1 | Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/gitee/1170.v3d4640b_34233/gitee.hpi (redirected to: https://get.jenkins.io/plugins/gitee/1170.v3d4640b_34233/gitee.hpi)
jenkins-jenkins-1 | at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1368)
jenkins-jenkins-1 | at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1925)
jenkins-jenkins-1 | at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2237)
jenkins-jenkins-1 | at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1899)
jenkins-jenkins-1 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
jenkins-jenkins-1 | at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
jenkins-jenkins-1 | at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:121)
jenkins-jenkins-1 | at java.base/java.lang.Thread.run(Unknown Source)