feat: email
This commit is contained in:
@@ -150,11 +150,14 @@ impl CertConfigItem {
|
||||
}
|
||||
cert_dns_names.push(x509_certificate.common_name.to_lowercase());
|
||||
|
||||
self.dns_names.as_ref().map(|dns_names| dns_names.iter().map(|n| n.to_lowercase()).map(|n| {
|
||||
if !self_dns_names.contains(&n) {
|
||||
self_dns_names.push(n);
|
||||
if let Some(dns_names) = &self.dns_names {
|
||||
for n in dns_names {
|
||||
let n = n.to_lowercase();
|
||||
if !self_dns_names.contains(&n) {
|
||||
self_dns_names.push(n);
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
for n in &x509_certificate.alt_names {
|
||||
let n = n.to_lowercase();
|
||||
if !cert_dns_names.contains(&n) {
|
||||
|
||||
Reference in New Issue
Block a user