IcingaDB installation icinga service does not come up after enabling icingadb feature

Hey,

I tried to install the icingadb on my server.
OS: Debian 11.
The icingadb is running (so both redis and mysql). My icinga2 service is also running.
Problem when i do icinga2 feature enable icingadb and then try to start my icinga2 service, my icinga service does not start anymore. I took a look in my log file but there seems to be an error with a cert in /var/lib/icinga2/certs//ca.crt. This directory does not exist.

Would be cool if anyone could help me who might have faced the same problems and already solved them.

Lostboi

Hi, icinga2 master node is usually also the Certificate Authority for your environment. You should have the ca.crt file under the certificate authority folder:

~# cd /var/lib/icinga2/
# ls
api  ca  certificate-requests  certs  icinga2.state  modified-attributes.conf
# ls ca
ca.crt  ca.key

If you’ve lost the CA, you’ll have to recreate it with the documentation, and update the certificates for all the infrastructure to use the ‘new’ ca.

Best,