gorgeous-winter-99296
09/19/2023, 8:14 AMca-cert.pem
, client-cert.pem
, and client-key.pem
. I've tried to merge them into one pem, but it fails with Failed to read from remote cache (4 occurrences so far): Unauthenticated: "could not verify peer certificate"
-- it's quite sparse with logs, unfortunately.nutritious-carpenter-5676
09/19/2023, 3:30 PMgorgeous-winter-99296
09/19/2023, 3:32 PMnutritious-carpenter-5676
09/19/2023, 3:37 PMgorgeous-winter-99296
09/19/2023, 3:51 PMfast-nail-55400
09/20/2023, 3:40 AMfast-nail-55400
09/20/2023, 3:43 AM--log-show-rust-3rdparty
switching to debug level -ldebug
fast-nail-55400
09/20/2023, 3:44 AM--show-log-target
is also usefulgorgeous-winter-99296
09/20/2023, 7:15 AMremote_ca_certs_path = ".certs/ca-cert.pem"
remote_mtls_certs_path = ".certs/merged.pem" # this is something I've added. File is a concatenation of client-cert.pem, client-key.pem. But atm I'm running pants-from-source with hardcoded certs and it still fails
remote_cache_read = true
remote_cache_write = false
remote_execution = false
remote_execution_address = "grpcs://<snip>:30002"
remote_store_address = "grpcs://<snip>:30002"
remote_store_rpc_timeout_millis = 3600000
Will look at those settings, I've used the --log-show-rust-3rdparty already, and can see that it actually goes through a proper TLS negotiation but fails here: https://github.com/buchgr/bazel-remote/blob/2bcc2f59e111f71b4de4d84013f8e93a1b981872/server/grpc.go#L227-L229gorgeous-winter-99296
09/20/2023, 7:17 AMfast-nail-55400
09/20/2023, 7:33 AMfast-nail-55400
09/20/2023, 7:33 AMtonic
crate in a recent release.fast-nail-55400
09/20/2023, 7:34 AMrustls
crate.gorgeous-winter-99296
09/20/2023, 7:34 AMgorgeous-winter-99296
09/20/2023, 7:36 AMgorgeous-winter-99296
09/20/2023, 7:47 AMfast-nail-55400
09/20/2023, 5:17 PMgorgeous-winter-99296
09/20/2023, 5:19 PMfast-nail-55400
09/20/2023, 5:21 PMfast-nail-55400
09/20/2023, 5:22 PMgorgeous-winter-99296
09/20/2023, 5:41 PM