mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +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) {
|
match (chain, key) {
|
||||||
(None, None) => {}
|
(None, None) => {}
|
||||||
(Some(chainp), Some(keyp)) => {
|
(Some(chainp), Some(keyp)) => {
|
||||||
let chain = PathBuf::from(keyp.clone());
|
let chain = PathBuf::from(chainp.clone());
|
||||||
let key = PathBuf::from(chainp.clone());
|
let key = PathBuf::from(keyp.clone());
|
||||||
let client_ca = client_ca.clone().map(PathBuf::from);
|
let client_ca = client_ca.clone().map(PathBuf::from);
|
||||||
self.tls_config = Some(TlsConfiguration {
|
self.tls_config = Some(TlsConfiguration {
|
||||||
chain,
|
chain,
|
||||||
|
|
Loading…
Reference in a new issue