Skip to content

Commit

Permalink
_sighs_
Browse files Browse the repository at this point in the history
  • Loading branch information
Zk2u committed Feb 28, 2025
1 parent 74239b9 commit 8ac1b41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/secret-service/src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub(crate) async fn load_tls(conf: TlsConfig) -> ServerConfig {
(vec![cert], key.into())
} else {
error!("TLS configuration is missing certificate and key paths");
std::process::exit(10);
std::process::exit(1);
};

let tls_builder = if let Some(ca_path) = conf.ca {
Expand All @@ -54,7 +54,7 @@ pub(crate) async fn load_tls(conf: TlsConfig) -> ServerConfig {
ServerConfig::builder().with_no_client_auth()
} else {
error!("TLS configuration is missing CA certificate path");
std::process::exit(11);
std::process::exit(1);
};

tls_builder
Expand Down

0 comments on commit 8ac1b41

Please sign in to comment.