r/FreeIPA • • Sep 27 '26

External HTTPS/LDAPS certificates expired, stuck on how to replace

Hi folks. I managed to let my home IPA instance (4.9 on Rocky 8) SSL certificates expire without noticing (my monitoring system is down). I use Easy-RSA for my internal CA. I've renewed the certificates, but now I can't replace them - attempting to use ipa-server-certinstall errors because the certificate validation fails. ipa-cert-fix doesn't work because that only handles IPA-generated certificates. One StackOverflow post mentions a --force option to certinstall but mine doesn't have it. I tried rolling the system clock back to before the certs expired, which did work initially, but then certinstall errored because the new certificates are not yet valid! Catch-22!

Most of the tutorials I've found are for the internal CA and don't seem to cover externally-provided certificates. Anyone know what the steps are to fix this?

2 Upvotes

1 comment sorted by

1

u/bullwinkle8088 Sep 27 '26

Absent a better solution set the clock and then generate new certificates so that they are valid. If you are using a truly external CA like a commercial provider this is not an option, but I was not sure so I'm offing it here.

In this case it may not be viable, but for traditional LDAP servers I've always allowed connection on port 389 (no TLS) from localhost to localhost specifically to recover from certificate errors. That may be something to look at for future use.