Skip to content

Commit

Permalink
webpki
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac committed Feb 21, 2025
1 parent 0c230aa commit ab3a90c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gel-tokio/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1934,6 +1934,7 @@ impl Config {

pub(crate) fn tls(&self) -> Result<TlsParameters, Error> {
let mut tls = TlsParameters::default();
tls.root_cert = TlsCert::Webpki;
match &self.0.pem_certificates {
Some(pem_certificates) => {
tls.root_cert = TlsCert::Custom(read_root_cert_pem(&pem_certificates)?);
Expand Down

0 comments on commit ab3a90c

Please sign in to comment.