[PKIX路径验证在运行Grails新项目时失败

问题描述 投票:0回答:1

我创建了一个新的Grails 4.0.2应用程序并运行它,得到了

FAILURE: Build failed with an exception.

* What went wrong:
Could not download web.jar (org.grails.profiles:web:4.0.0)
> Could not get resource 'https://repo.grails.org/grails/core/org/grails/profiles/web/4.0.0/web-4.0.0.jar'.
   > Could not HEAD 'https://repo.grails.org/grails/core/org/grails/profiles/web/4.0.0/web-4.0.0.jar'.
      > sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

CONFIGURE FAILED in 9s

有什么想法吗?

ssl grails
1个回答
0
投票

The JDK or certificate store you are using is out of date。更新到JDK发行版的最新版本,或手动添加缺少的证书。

这是由于Sectigo's AddTrust External CA Root Expiring May 30, 2020

© www.soinside.com 2019 - 2024. All rights reserved.