Skip to content

Commit 38cab95

Browse files
committed
fix(windows): configure OpenSSL roots for Bazel builds
Installs root certificates and sets the `CURL_CA_BUNDLE` and `GRPC_DEFAULT_SSL_ROOTS_FILE_PATH` environment variables in the Kokoro Windows Bazel build. This enables the client to authenticate correctly when built against OpenSSL on Windows.
1 parent d399706 commit 38cab95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/kokoro/windows/builds/bazel.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ if (Test-Integration-Enabled) {
8585
Write-Host "`n$(Get-Date -Format o) Running minimal quickstart prorams"
8686
Install-Roots-Pem
8787
${env:GRPC_DEFAULT_SSL_ROOTS_FILE_PATH}="${env:KOKORO_GFILE_DIR}/roots.pem"
88+
${env:CURL_CA_BUNDLE}="${env:KOKORO_GFILE_DIR}/roots.pem"
8889
${env:GOOGLE_APPLICATION_CREDENTIALS}="${env:KOKORO_GFILE_DIR}/kokoro-run-key.json"
8990
Invoke-REST-Quickstart
9091
Invoke-gRPC-Quickstart

0 commit comments

Comments
 (0)