<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/4.6.5">
</head>
<body>
On Thu, 2013-07-25 at 16:22 +0200, Martin Kosek wrote:
<blockquote type="CITE">
<pre>
On 07/25/2013 04:06 PM, Armstrong, Kenneth Lawrence wrote:
<font color="#737373">> On Fri, 2013-07-19 at 17:44 -0400, Dmitri Pal wrote:</font>
<font color="#737373">> On 07/19/2013 01:11 PM, Armstrong, Kenneth Lawrence wrote:</font>
<font color="#737373">> I'm trying to install an IPA server using an external CA.</font>
<font color="#737373">> </font>
<font color="#737373">> I ran the ipa-server-install --external-ca command, and got my cert signed by our on-site CA.</font>
<font color="#737373">> </font>
<font color="#737373">> So then I go back to install using my certs:</font>
<font color="#737373">> </font>
<font color="#737373">> ipa-server-install --external_cert_file=/root/ipa.cer --external_ca_file=/root/CACert.cer</font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> I get this for output:</font>
<font color="#737373">> </font>
<font color="#737373">> Configuring certificate server (pki-cad): Estimated time 3 minutes 30 seconds</font>
<font color="#737373">> [1/20]: creating certificate server user</font>
<font color="#737373">> [2/20]: configuring certificate server instance</font>
<font color="#737373">> ipa : CRITICAL failed to configure ca instance Command '/usr/bin/perl /usr/bin/pkisilent ConfigureCA -cs_hostname lnxrealmtest01.liberty.edu -cs_port 9445 -client_certdb_dir /tmp/tmp-cQZB3x -client_certdb_pwd XXXXXXXX -preop_pin nio5yPeVonEn0tWotyjC -domain_name IPA -admin_user admin -admin_email root@localhost -admin_password XXXXXXXX -agent_name ipa-ca-agent -agent_key_size 2048 -agent_key_type rsa -agent_cert_subject CN=ipa-ca-agent,O=LNXREALMTEST.LIBERTY.EDU -ldap_host lnxrealmtest01.liberty.edu -ldap_port 7389 -bind_dn cn=Directory Manager -bind_password XXXXXXXX -base_dn o=ipaca -db_name ipaca -key_size 2048 -key_type rsa -key_algorithm SHA256withRSA -save_p12 true -backup_pwd XXXXXXXX -subsystem_name pki-cad -token_name internal -ca_subsystem_cert_subject_name CN=CA Subsystem,O=LNXREALMTEST.LIBERTY.EDU -ca_subsystem_cert_subject_name CN=CA Subsystem,O=LNXREALMTEST.LIBERTY.EDU -ca_ocsp_cert_subject_name CN=OCSP Subsystem,O=LNXREALMTEST.LIBERTY.EDU -ca_server_!</font>
cert_subje
ct_name CN=lnxrealmtest01.liberty.edu,O=LNXREALMTEST.LIBERTY.EDU -ca_audit_signing_cert_subject_name CN=CA Audit,O=LNXREALMTEST.LIBERTY.EDU -ca_sign_cert_subject_name CN=Certificate Authority,O=LNXREALMTEST.LIBERTY.EDU -external true -ext_ca_cert_file /root/ipa.cer -ext_ca_cert_chain_file /root/CACert.cer -clone false' returned non-zero exit status 255
<font color="#737373">> Configuration of CA failed</font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> [root@lnxrealmtest01<<a href="mailto:root@lnxrealmtest01">mailto:root@lnxrealmtest01</a>> ~]# tail /var/log/ipaserver-install.log</font>
<font color="#737373">> File "/usr/lib/python2.6/site-packages/ipaserver/install/cainstance.py", line 617, in configure_instanceConfiguring certificate server (pki-cad): Estimated time 3 minutes 30 seconds</font>
<font color="#737373">> [1/20]: creating certificate server user</font>
<font color="#737373">> [2/20]: configuring certificate server instance</font>
<font color="#737373">> ipa : CRITICAL failed to configure ca instance Command '/usr/bin/perl /usr/bin/pkisilent ConfigureCA -cs_hostname lnxrealmtest01.liberty.edu -cs_port 9445 -client_certdb_dir /tmp/tmp-cQZB3x -client_certdb_pwd XXXXXXXX -preop_pin nio5yPeVonEn0tWotyjC -domain_name IPA -admin_user admin -admin_email root@localhost -admin_password XXXXXXXX -agent_name ipa-ca-agent -agent_key_size 2048 -agent_key_type rsa -agent_cert_subject CN=ipa-ca-agent,O=LNXREALMTEST.LIBERTY.EDU -ldap_host lnxrealmtest01.liberty.edu -ldap_port 7389 -bind_dn cn=Directory Manager -bind_password XXXXXXXX -base_dn o=ipaca -db_name ipaca -key_size 2048 -key_type rsa -key_algorithm SHA256withRSA -save_p12 true -backup_pwd XXXXXXXX -subsystem_name pki-cad -token_name internal -ca_subsystem_cert_subject_name CN=CA Subsystem,O=LNXREALMTEST.LIBERTY.EDU -ca_subsystem_cert_subject_name CN=CA Subsystem,O=LNXREALMTEST.LIBERTY.EDU -ca_ocsp_cert_subject_name CN=OCSP Subsystem,O=LNXREALMTEST.LIBERTY.EDU -ca_server_!</font>
cert_subje
ct_name CN=lnxrealmtest01.liberty.edu,O=LNXREALMTEST.LIBERTY.EDU -ca_audit_signing_cert_subject_name CN=CA Audit,O=LNXREALMTEST.LIBERTY.EDU -ca_sign_cert_subject_name CN=Certificate Authority,O=LNXREALMTEST.LIBERTY.EDU -external true -ext_ca_cert_file /root/ipa.cer -ext_ca_cert_chain_file /root/CACert.cer -clone false' returned non-zero exit status 255
<font color="#737373">> Configuration of CA failed</font>
<font color="#737373">> [root@lnxrealmtest01<<a href="mailto:root@lnxrealmtest01">mailto:root@lnxrealmtest01</a>> ~]# tail /var/log/ipaserver-install.log</font>
<font color="#737373">> File "/usr/lib/python2.6/site-packages/ipaserver/install/cainstance.py", line 617, in configure_instance</font>
<font color="#737373">> self.start_creation(runtime=210)</font>
<font color="#737373">> </font>
<font color="#737373">> File "/usr/lib/python2.6/site-packages/ipaserver/install/service.py", line 358, in start_creation</font>
<font color="#737373">> method()</font>
<font color="#737373">> </font>
<font color="#737373">> File "/usr/lib/python2.6/site-packages/ipaserver/install/cainstance.py", line 879, in __configure_instance</font>
<font color="#737373">> raise RuntimeError('Configuration of CA failed')</font>
<font color="#737373">> </font>
<font color="#737373">> 2013-07-19T17:02:51Z INFO The ipa-server-install command failed, exception: RuntimeError: Configuration of CA failed</font>
<font color="#737373">> self.start_creation(runtime=210)</font>
<font color="#737373">> </font>
<font color="#737373">> File "/usr/lib/python2.6/site-packages/ipaserver/install/service.py", line 358, in start_creation</font>
<font color="#737373">> method()</font>
<font color="#737373">> </font>
<font color="#737373">> File "/usr/lib/python2.6/site-packages/ipaserver/install/cainstance.py", line 879, in __configure_instance</font>
<font color="#737373">> raise RuntimeError('Configuration of CA failed')</font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> 2013-07-19T17:02:51Z INFO The ipa-server-install command failed, exception: RuntimeError: Configuration of CA failed</font>
<font color="#737373">> </font>
<font color="#737373">> Any thoughts on what I can do to troubleshoot this?</font>
<font color="#737373">> </font>
<font color="#737373">> Thanks.</font>
<font color="#737373">> </font>
<font color="#737373">> -Kenny</font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> _______________________________________________</font>
<font color="#737373">> Freeipa-users mailing list</font>
<font color="#737373">> <a href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a><<a href="mailto:Freeipa-users@redhat.com">mailto:Freeipa-users@redhat.com</a>></font>
<font color="#737373">> <a href="https://www.redhat.com/mailman/listinfo/freeipa-users">https://www.redhat.com/mailman/listinfo/freeipa-users</a></font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> Several questions:</font>
<font color="#737373">> 1) package and os version/distro?</font>
<font color="#737373">> 2) what is in httpd logs?</font>
<font color="#737373">> 3) what is in pki logs?</font>
<font color="#737373">> </font>
<font color="#737373">> The names and locations of the logs partially depend on the answer to the first question.</font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> --</font>
<font color="#737373">> Thank you,</font>
<font color="#737373">> Dmitri Pal</font>
<font color="#737373">> </font>
<font color="#737373">> Sr. Engineering Manager for IdM portfolio</font>
<font color="#737373">> Red Hat Inc.</font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> -------------------------------</font>
<font color="#737373">> Looking to carve out IT costs?</font>
<font color="#737373">> <a href="http://www.redhat.com/carveoutcosts/">www.redhat.com/carveoutcosts/</a><<a href="http://www.redhat.com/carveoutcosts/">http://www.redhat.com/carveoutcosts/</a>></font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> _______________________________________________</font>
<font color="#737373">> Freeipa-users mailing list</font>
<font color="#737373">> <a href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a><<a href="mailto:Freeipa-users@redhat.com">mailto:Freeipa-users@redhat.com</a>></font>
<font color="#737373">> <a href="https://www.redhat.com/mailman/listinfo/freeipa-users">https://www.redhat.com/mailman/listinfo/freeipa-users</a></font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> Hi all,</font>
<font color="#737373">> </font>
<font color="#737373">> Just tried this again on a new clean install:</font>
<font color="#737373">> </font>
<font color="#737373">> [3/4]: configuring certificate server instance</font>
<font color="#737373">> ipa : CRITICAL failed to configure ca instance Command '/usr/bin/perl /usr/bin/pkisilent ConfigureCA -cs_hostname lnxrealmtest01.lnxrealmtest.liberty.edu -cs_port 9445 -client_certdb_dir /tmp/tmp-WH9RBT -client_certdb_pwd XXXXXXXX -preop_pin TaLcAevF7piQ1NV0Jmd9 -domain_name IPA -admin_user admin -admin_email root@localhost -admin_password XXXXXXXX -agent_name ipa-ca-agent -agent_key_size 2048 -agent_key_type rsa -agent_cert_subject CN=ipa-ca-agent,O=LNXREALMTEST.LIBERTY.EDU -ldap_host lnxrealmtest01.lnxrealmtest.liberty.edu -ldap_port 7389 -bind_dn cn=Directory Manager -bind_password XXXXXXXX -base_dn o=ipaca -db_name ipaca -key_size 2048 -key_type rsa -key_algorithm SHA256withRSA -save_p12 true -backup_pwd XXXXXXXX -subsystem_name pki-cad -token_name internal -ca_subsystem_cert_subject_name CN=CA Subsystem,O=LNXREALMTEST.LIBERTY.EDU -ca_subsystem_cert_subject_name CN=CA Subsystem,O=LNXREALMTEST.LIBERTY.EDU -ca_ocsp_cert_subject_name CN=OCSP Subsystem,O=LNXREALMTE!</font>
ST.LIBERTY
.EDU -ca_server_cert_subject_name CN=lnxrealmtest01.lnxrealmtest.liberty.edu,O=LNXREALMTEST.LIBERTY.EDU -ca_audit_signing_cert_subject_name CN=CA Audit,O=LNXREALMTEST.LIBERTY.EDU -ca_sign_cert_subject_name CN=Certificate Authority,O=LNXREALMTEST.LIBERTY.EDU -external true -ext_csr_file /root/ipa.csr -clone false' returned non-zero exit status 255
<font color="#737373">> Configuration of CA failed</font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> This is on a RHEL 6.4 x86_64 host, fully updated</font>
<font color="#737373">> </font>
<font color="#737373">> ipa-server-3.0.0-26.el6_4.4.x86_64</font>
<font color="#737373">> libipa_hbac-python-1.9.2-82.7.el6_4.x86_64</font>
<font color="#737373">> ipa-client-3.0.0-26.el6_4.4.x86_64</font>
<font color="#737373">> ipa-server-selinux-3.0.0-26.el6_4.4.x86_64</font>
<font color="#737373">> ipa-pki-common-theme-9.0.3-7.el6.noarch</font>
<font color="#737373">> libipa_hbac-1.9.2-82.7.el6_4.x86_64</font>
<font color="#737373">> ipa-python-3.0.0-26.el6_4.4.x86_64</font>
<font color="#737373">> ipa-pki-ca-theme-9.0.3-7.el6.noarch</font>
<font color="#737373">> ipa-admintools-3.0.0-26.el6_4.4.x86_64</font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> Here is the command that I am using to run the install:</font>
<font color="#737373">> </font>
<font color="#737373">> ipa-server-install --setup-dns --forwarder=10.254.20.82 --forwarder=10.254.10.82 --external-ca</font>
<font color="#737373">> </font>
<font color="#737373">> and my /etc/hosts file:</font>
<font color="#737373">> </font>
<font color="#737373">> [root@lnxrealmtest01<<a href="mailto:root@lnxrealmtest01">mailto:root@lnxrealmtest01</a>> ~]# cat /etc/hosts</font>
<font color="#737373">> 10.203.60.225 lnxrealmtest01.lnxrealmtest.liberty.edu lnxrealmtest</font>
<font color="#737373">> 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4</font>
<font color="#737373">> </font>
<font color="#737373">> Am I missing something?</font>
<font color="#737373">> </font>
<font color="#737373">> Thanks.</font>
<font color="#737373">> </font>
<font color="#737373">> -Kenny</font>
<font color="#737373">> </font>
Thanks. As Dmitri wrote above, we would also need ipaserver-install.log and
pki-ca logs to be able to see related error messages.
Adding Ade from PKI developers to CC too.
Martin
</pre>
</blockquote>
<br>
Which PKI logs do you need?<br>
<br>
I attached the ipa install log.<br>
<br>
-Kenny<br>
<br>
</body>
</html>