mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Fix inverted key/chain logic from TLS error improvement (#2453)
This commit is contained in:
parent
967bc7c9df
commit
50c324c063
|
@ -648,8 +648,8 @@ impl Configuration {
|
|||
match (chain, key) {
|
||||
(None, None) => {}
|
||||
(Some(chainp), Some(keyp)) => {
|
||||
let chain = PathBuf::from(keyp.clone());
|
||||
let key = PathBuf::from(chainp.clone());
|
||||
let chain = PathBuf::from(chainp.clone());
|
||||
let key = PathBuf::from(keyp.clone());
|
||||
let client_ca = client_ca.clone().map(PathBuf::from);
|
||||
self.tls_config = Some(TlsConfiguration {
|
||||
chain,
|
||||
|
|
Loading…
Reference in a new issue