bazelbuild/bazel

How to disable SSL certification check

Open

#25,814 opened on 2025年4月11日

GitHub で見る
 (0 comments) (1 reaction) (0 assignees)Java (4,465 forks)batch import
area-Windowshelp wantedteam-OSStype: support / not a bug (process)

Repository metrics

Stars
 (25,384 stars)
PR merge metrics
 (平均マージ 22d 20h) (30d で 77 merged PRs)

説明

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

コントリビューターガイド