bazelbuild / bazelbuild/bazel

How to disable SSL certification check

Open
#25,814 0 comments 1 reaction 0 assignees View on GitHub
area-Windows help wanted team-OSS type: support / not a bug (process)
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 16h
Merged PRs (30d)
72

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

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the Bazel 7.4.1 command on Windows 10 with the reported host JVM argument and inspect the PKIX failure; done means determining whether the requested SSL certificate-check behavior is supported and identifying the relevant configuration or documentation change.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.