diff --git a/src/common/pki/authenticate.rs b/src/common/pki/authenticate.rs index 856eca1b..f39bb168 100644 --- a/src/common/pki/authenticate.rs +++ b/src/common/pki/authenticate.rs @@ -404,7 +404,7 @@ pub fn authenticate<'store, 'rstore>( .sq().arg("network").arg("search") .arg(pattern) .done(); - } else { + } else if n.iter_fingerprints().next().is_none() { weprintln!("The certificate store does not contain any \ certificates.");