Browse Source

icinga2: Check host certificate installed in /etc/ssl/certs

  The certificate for Icinga2 now is installed in /var/lib/icinga2/certs but
  is using the same source anyway so the content is the same. Hence we just
  check the system wide installed certificate.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 3 years ago
parent
commit
64f3d7c8ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      icinga2/services/ssl_cert.conf

+ 1 - 1
icinga2/services/ssl_cert.conf

@@ -6,7 +6,7 @@ apply Service "SSL Host Cert" {
 
 	check_interval = 1d
 
-	vars.ssl_cert_file = "/etc/icinga2/pki/ffhohost.cert.pem"
+	vars.ssl_cert_file = "/etc/ssl/certs/" + host.name + ".cert.pem"
 	vars.ssl_cert_warn = 14
 	vars.ssl_cert_critical = 7