Skip to content
Merged
Show file tree
Hide file tree
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
148 changes: 144 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ polars = { version = "0.53.0", default-features = false, features = ["dtype-date
[dev-dependencies]
tokio = { version = "1", features = ["full", "test-util", "rt-multi-thread"] }
mockito = "1"
rcgen = "0.13"
rcgen = "0.14"

[[example]]
name = "quickstart"
Expand Down
4 changes: 2 additions & 2 deletions tests/flight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ async fn query_stream_works_over_tls() -> Result<(), Box<dyn std::error::Error +

// Self-signed cert for `localhost`; the SAN must match the host the client
// connects to, otherwise tonic rejects the certificate.
let CertifiedKey { cert, key_pair } =
let CertifiedKey { cert, signing_key } =
rcgen::generate_simple_self_signed(vec!["localhost".to_string()])?;
let cert_pem = cert.pem();
let key_pem = key_pair.serialize_pem();
let key_pem = signing_key.serialize_pem();

// The client trusts the server cert via a CA roots file (same PEM).
let ca_path = std::env::temp_dir().join(format!("influxdb3-tls-test-{port}.pem"));
Expand Down
Loading