fix(relay): use system cert store for root certificates (#1999)

This commit is contained in:
Thomas Eizinger
2023-09-08 17:32:48 +10:00
committed by GitHub
parent 0006fa1a8d
commit 6681301166
3 changed files with 3 additions and 2 deletions

1
rust/Cargo.lock generated
View File

@@ -3849,6 +3849,7 @@ dependencies = [
"pin-project",
"prost",
"prost-derive",
"rustls-native-certs",
"rustls-pemfile",
"tokio",
"tokio-rustls 0.23.4",

View File

@@ -20,7 +20,7 @@ ENV RUST_BACKTRACE=1
ENV PATH "/app:$PATH"
ENV PACKAGE_NAME ${PACKAGE}
RUN apt-get update -y \
&& apt-get install -y iputils-ping iptables lsof iproute2 curl iperf3 \
&& apt-get install -y iputils-ping iptables lsof iproute2 curl iperf3 ca-certificates \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -16,7 +16,7 @@ tokio = { version = "1.32.0", features = ["macros", "rt-multi-thread", "net", "t
tracing = { version = "0.1.37", features = ["log"] }
tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "fmt"] }
tracing-stackdriver = { version = "0.7.2", features = ["opentelemetry"] }
opentelemetry-stackdriver = { version = "0.16.0", default-features = false, features = ["gcp_auth"] }
opentelemetry-stackdriver = { version = "0.16.0", default-features = false, features = ["gcp_auth", "tls-native-roots"] }
tracing-opentelemetry = "0.19.0"
opentelemetry = { version = "0.19.0", features = ["rt-tokio"] }
env_logger = "0.10.0"