Hi,

On Sun, May 8, 2022 at 1:31 AM john john via FreeIPA-users <freeipa-users@lists.fedorahosted.org> wrote:
IPA version is 4.5.0
In this topic https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org/thread/NSML2YE6YIOENHP7MPVWRL346LNKK2UG/
explains that different versions of IPA have different RA certificate locations.

In my case I have both certificates one already expired in /etc/httpd/alias and one valid in /var/lib/ipa/ra-agent.{key|pem}.
Which one is used to interact with ldap service?
ldapsearch -D "cn=directory manager" -W -b o=ipaca -LLL -o ldif-wrap=no "(uid=ipara)" usercertificate description
Usercertificate has a completely different certificate.

IPA 4.4 stores the RA cert in /etc/httpd/alias NSS database, and IPA 4.5 stores the RA cert in /var/lib/ipa/ra-agent.{pem|key}.
In your case (4.5.0), the certificate in LDAP needs to be the same as the one from /var/lib/ipa/ra-agent.pem.

Hope this clarifies,
flo
If I understand correctly I need to install the correct certificate in the ldap service through the ldapmodify command.
But I don't understand which certificate to use.
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure