IPA server installation failing with certificate invalid error

Solution Verified - Updated -

Issue

  • Issue with self signed certificate created using openssl command.
  • IPA server installation failing with certificate invalid error.
# ipa-server-install --http-cert-file /tmp/cert.crt --http-cert-file /tmp/ipaserver.key --http-pin secret \
--dirsrv-cert-file /tmp/cert.crt --dirsrv-cert-file /tmp/ipaserver.key --dirsrv-pin secret \
--ca-cert-file /tmp/root.crt --ca-cert-file /tmp/chain.crt --no-pkinit
.
.
Please provide a realm name [EXAMPLE.TEST]:
The server certificate in /tmp/cert.crt, /tmp/ipaserver.key is not valid: invalid for server ipaserver.example.test
The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information

Environment

  • IPA 4.x
  • Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content