Explorar el Código

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 hace 3 años
padre
commit
64f3d7c8ae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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