bazelbuild/bazel

How to disable SSL certification check

Open

#25 814 ouverte le 11 avr. 2025

Voir sur GitHub
 (0 commentaires) (1 réaction) (0 assignés)Java (4 465 forks)batch import
area-Windowshelp wantedteam-OSStype: support / not a bug (process)

Métriques du dépôt

Stars
 (25 384 stars)
Métriques de merge PR
 (Merge moyen 22j 20h) (77 PRs mergées en 30 j)

Description

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

Guide contributeur