Charles Hedrick via FreeIPA-users wrote:
the error is
The KDC certificate in cert.pem, privkey.pem is not valid: invalid for a KDC
A PKINIT certificate needs an EKU extension, https://datatracker.ietf.org/doc/html/rfc4556
When generating the key with OpenSSL you need to include "-extensions kdc_cert"
rob
*From:* Charles Hedrick via FreeIPA-users freeipa-users@lists.fedorahosted.org *Sent:* Wednesday, June 15, 2022 3:39 PM *To:* freeipa-users@lists.fedorahosted.org freeipa-users@lists.fedorahosted.org *Cc:* Charles Hedrick hedrick@rutgers.edu *Subject:* [Freeipa-users] ipa-server-certinstall -k ipa-server-certinstall works fine for http and ldap. But I can't get the -k option to work.
I've tried cert.pem and privkey.pem with and without chain.pem, as well as fullchain.pem and privkey.pem (fullchain has both the cert and the chain).
The certs were issued by Internet2, which chains up to addtrust.
kinit -n works fine if I install the pem files manually, so presumably my files are valid.
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.fedorahoste... Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure