During a recent installation of Red Hat Identity Management or FreeIPA I stumbled upon the following error message:
DEBUG The ipa-server-install command failed, exception: RuntimeError: CA did not start in 300.0s ERROR CA did not start in 300.0s ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
CentOS was installed in version 7.6 (so slighty outdated) and FreeIPA was used in version 4.6.5-11:
$ rpm -qa ipa-server nss nss-3.36.0-7.1.el7_6.x86_64 ipa-server-4.6.5-11.el7.centos.4.x86_64 $ cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core)
During analysis the used NSS libraries (Name Service Switch) looked conspicuous to me. I found some bug reports in the internet but unfortunately they were not public.
# yum check-update|grep nss- nss-pem.x86_64 1.0.3-7.el7 base nss-softokn.x86_64 3.44.0-8.el7_7 updates nss-softokn-freebl.x86_64 3.44.0-8.el7_7 updates nss-sysinit.x86_64 3.44.0-7.el7_7 updates nss-tools.x86_64 3.44.0-7.el7_7 updates nss-util.x86_64 3.44.0-4.el7_7 updates
To fix the issue I had to update the NSS libraries. The ones used in version 7.6 are buggy.
# yum update nss* -y
Afterwards, the installation succeeded without any issues.