How to disable SSL certification check
- 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
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