Skip to content

Commit

Permalink
feat: support native SSL certs as well
Browse files Browse the repository at this point in the history
This enables looking for certs in the local setup in addition to the
already used Mozilla certs.  In particular this will now also respect
SSL_CERT_FILE for custom cert files.  In effect, it will allow to deal
with deployment scenarios that require custom SSL certs.
  • Loading branch information
satlank authored and woutersl committed Sep 25, 2024
1 parent 2510af7 commit 7afd6eb
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 1 deletion.
76 changes: 76 additions & 0 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 @@ -48,4 +48,4 @@ tokio-util = {version = "0.7", features = ["io"]}
lettre = { version = "0.11", default-features = false, features = ["builder", "smtp-transport", "rustls-tls", "tokio1", "tokio1-rustls-tls"] }
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio-rustls", "sqlite", "macros", "chrono"] }
axum = { version = "0.7", features = ["http2"] }
reqwest = { version = "0.12", default-features = false, features = ["stream", "rustls-tls"] }
reqwest = { version = "0.12", default-features = false, features = ["stream", "rustls-tls", "rustls-tls-native-roots"] }

0 comments on commit 7afd6eb

Please sign in to comment.