bazelbuild/bazel

How to disable SSL certification check

Open

#25.814 geöffnet am 11. Apr. 2025

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Java (4.465 Forks)batch import
area-Windowshelp wantedteam-OSStype: support / not a bug (process)

Repository-Metriken

Stars
 (25.384 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 22T 20h) (77 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide