bazelbuild/bazel

How to disable SSL certification check

Open

#25,814 创建于 2025年4月11日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)Java (4,465 fork)batch import
area-Windowshelp wantedteam-OSStype: support / not a bug (process)

仓库指标

Star
 (25,384 star)
PR 合并指标
 (平均合并 22天 20小时) (30 天内合并 77 个 PR)

描述

I added --host_jvm_args="-Dcom.sun.net.ssl.checkRevocation=false", still got

Error downloading [https://github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz] to xxx/53xgocuc/external/platforms/temp6434624468252738285/platforms-0.0.9.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Please help!

my command bazel --host_jvm_args="-Dcom.sun.net.ssl.checkRevocation=false" build //:hello

bazel 7.4.1 windows 10

贡献者指南