hotfix for issue with socktop agent not creating ssl certificate on first launch after upgrade of axum server version.

This commit is contained in:
2025-11-21 00:21:05 -08:00
parent c80f8cc363
commit 4b9d11dc9e
4 changed files with 10 additions and 6 deletions
+6
View File
@@ -30,6 +30,12 @@ fn arg_value(name: &str) -> Option<String> {
}
fn main() -> anyhow::Result<()> {
// Install rustls crypto provider before any TLS operations
// This is required when using axum-server's tls-rustls feature
rustls::crypto::aws_lc_rs::default_provider()
.install_default()
.ok(); // Ignore error if already installed
#[cfg(feature = "logging")]
tracing_subscriber::fmt::init();