Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion remote_execution/oss/re_grpc/src/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ impl ChannelConfig {
}

async fn create_tls_config(opts: &Buck2OssReConfiguration) -> anyhow::Result<ClientTlsConfig> {
let config = ClientTlsConfig::new().with_enabled_roots();
// use_key_log(): store the session keys to a file when SSLKEYLOGFILE
// is set in env, to allow decrypting PCAP files for debugging. See:
// - https://www.ietf.org/archive/id/draft-thomson-tls-keylogfile-00.html
// - https://wiki.wireshark.org/TLS
let config = ClientTlsConfig::new().with_enabled_roots().use_key_log();

let config = match opts.tls_ca_certs.as_ref() {
Some(tls_ca_certs) => {
Expand Down
Loading