<div dir="ltr">Thanks you Rob. My replica is workin now.<br><br>:)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/10 Rob Crittenden <span dir="ltr"><<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">James James wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Maybe I am stupid or tired (or both ..) but I have tried many thing to<br>
include the ca cert, the ipa key and pem file in a single pkcs12 file<br>
but I am still stucked.<br>
<br>
Can you give me a more detailled help ?<br>
</blockquote>
<br></div>
Well, this is one of the reasons we're deprecating this feature, because it hasn't been well-tested since v1 and is ridden with corner cases.<br>
<br>
I think the only solution is going to be to in direct code changes to the IPA python scripts to match what your PKCS#12 files contain. If it is signed by a root CA then chances are if you simply skip the step where the CA is loaded and trusted then things may just work.<br>
<br>
It is failing in ipaserver/install/certs.p12 in the call to find_root_cert_from_pkcs12(). Either it is simply an issue of our identifying the CA or one isn't being loaded at all.<br>
<br>
You can do: certutil -L -d /etc/dirsrv/slapd-YOUR_REALM to list the certificates that were loaded. It may be that the CA was loaded but we aren't detecting the nickname, in which case you could simply hardcode it into the python file for a workaround, something like:<br>
<br>
ca_names = ['CA nickname']<br>
<br>
rob<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
2013/2/8 Rob Crittenden <<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a> <mailto:<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a>>><br>
<br>
James James wrote:<br>
<br>
OK .. but I have to put the pkc12 file in /etc/pki/nssdb ?<br>
<br>
<br>
No. The PKCS#12 file that contains your server private key and cert<br>
needs to also contain the CA that signed it.<br>
<br>
rob<br>
<br>
<br>
<br>
2013/2/8 Rob Crittenden <<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a><br></div>
<mailto:<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a>> <mailto:<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a><div><div class="h5"><br>
<mailto:<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a>>>><br>
<br>
<br>
James James wrote:<br>
<br>
Now on the replica server I've got this error :<br>
Run connection check to master<br>
Connection check OK<br>
Configuring ntpd<br>
[1/4]: stopping ntpd<br>
[2/4]: writing configuration<br>
[3/4]: configuring ntpd to start on boot<br>
[4/4]: starting ntpd<br>
done configuring ntpd.<br>
Configuring directory server: Estimated time 1 minute<br>
[1/30]: creating directory server user<br>
[2/30]: creating directory server instance<br>
[3/30]: adding default schema<br>
[4/30]: enabling memberof plugin<br>
[5/30]: enabling referential integrity plugin<br>
[6/30]: enabling winsync plugin<br>
[7/30]: configuring replication version plugin<br>
[8/30]: enabling IPA enrollment plugin<br>
[9/30]: enabling ldapi<br>
[10/30]: configuring uniqueness plugin<br>
[11/30]: configuring uuid plugin<br>
[12/30]: configuring modrdn plugin<br>
[13/30]: enabling entryUSN plugin<br>
[14/30]: configuring lockout plugin<br>
[15/30]: creating indices<br>
[16/30]: configuring ssl for ds instance<br>
creation of replica failed: Could not find a CA cert in<br></div></div>
/tmp/tmp21VpT8ipa/realm_info/_<u></u>___dscert.p12<div class="im"><br>
<br>
<br>
Your system may be partly configured.<br>
Run /usr/sbin/ipa-server-install --uninstall to clean up.<br>
<br>
<br>
Where I have to put the CA certficate ?<br>
<br>
<br>
It needs to be in the PKCS#12 file.<br>
<br>
rob<br>
<br>
<br>
<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br></div>