<div dir="ltr"><div><div><div><div>Hi Aquino,<br><br></div>thanks for the input, however. There is a CRT in there already and it was set to allow on both the IPA server and the target openldap server.<br></div>the core of the issue seems to be that IPA does not accept the cert either locally or remotely as it does not trust it.<br>
<br></div><div>anyone know how I can troubleshot this. I have reviewed the dirsrv logs for ldap and I can't spot anything/.<br></div><div><br></div>Regards<br></div>John<br><div><div><div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Jan 11, 2013 at 5:55 PM, JR Aquino <span dir="ltr"><<a href="mailto:JR.Aquino@citrix.com" target="_blank">JR.Aquino@citrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Try editing /etc/openldap/ldap.conf:<br>
<br>
TLS_CACERT      /etc/ipa/ca.crt<br>
TLS_REQCERT allow<br>
<br>
<br>
See if that helps<br>
<br>
"Keeping your head in the cloud"<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Jr Aquino | Sr. Information Security Specialist<br>
GIAC Exploit Researcher and Advanced Penetration Tester |<br>
GIAC Certified Incident Handler | GIAC WebApp Penetration Tester<br>
Citrix Online | 7408 Hollister Avenue | Goleta, CA 93117<x-apple-data-detectors://0/0><br>
T:  <a href="tel:%2B1%20805.690.3478" value="+18056903478">+1 805.690.3478</a><tel:+1%C2%A0805.690.3478><br>
C: <a href="tel:%2B1%20805.717.0365" value="+18057170365">+1 805.717.0365</a><tel:+1%20805.717.0365><br>
<a href="mailto:jr.aquino@citrix.com">jr.aquino@citrix.com</a><mailto:<a href="mailto:jr.aquino@citrixonline.com">jr.aquino@citrixonline.com</a>><br>
<a href="http://www.citrixonline.com" target="_blank">http://www.citrixonline.com</a><<a href="http://www.citrixonline.com/" target="_blank">http://www.citrixonline.com/</a>><br>
<div class="im"><br>
On Jan 11, 2013, at 8:05 AM, Johnathan Phan <<a href="mailto:john@ox-consulting.com">john@ox-consulting.com</a><mailto:<a href="mailto:john@ox-consulting.com">john@ox-consulting.com</a>>> wrote:<br>
<br>
Hi There,<br>
<br>
This is driving me up the wall.<br>
<br>
I have two servers. 1 is a live openldap/kerberous AAA server running on RHEL6. The LDAP service has SSL/TS support. The second server is a test environment running on fedora and has 3.1 IPA installed.<br>
<br>
As a last step of my POC I need to migrate the users and passwords from the LDAP server to IPA server.<br>
<br>
I ran this command perfectly fine.<br>
<br>
ipa config-mod --enable-migration=TRUE<br>
<br>
However the next step was where my issues began.<br>
<br>
In the end after a lot of IRC communication and troubleshooting I now run the following command.<br>
<br>
</div>ipa migrate-ds --bind-dn="cn=admin,dc=example,dc=com" --user-container="ou=users,ou=live,dc=example,dc=com" --group-container="ou=groups,ou=live,dc=example,dc=com" ldaps://<a href="http://ldap1.live.example.com" target="_blank">ldap1.live.example.com</a><<a href="http://ldap1.live.example.com/" target="_blank">http://ldap1.live.example.com/</a>><br>

<div class="im"><br>
I get the following error.<br>
<br>
ipa: DEBUG: Caught fault 4203 from server <a href="http://fedoraipaserver.test.example.com/ipa/xml" target="_blank">http://fedoraipaserver.test.example.com/ipa/xml</a>: Can't contact LDAP server: TLS error -8179:Peer's Certificate issuer is not recognized.<br>

ipa: DEBUG: Destroyed connection context.xmlclient<br>
ipa: ERROR: Can't contact LDAP server: TLS error -8179:Peer's Certificate issuer is not recognized.<br>
<br>
I have summarized that the IPA server does not trust the cert served by the openldap or the other way around. Does anyone know how to get around this? Or allow me to finish the migration of user data.<br>
<br>
Regards<br>
<br>
John<br>
<br>
--<br>
Johnathan Phan<br>
<br>
T: <a href="tel:%2B44%20%280%29784%20118%207080" value="+447841187080">+44 (0)784 118 7080</a><br>
<br>
<br>
<br>
</div>_______________________________________________<br>
Freeipa-users mailing list<br>
<a href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a><mailto:<a href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a>><br>
<a href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Johnathan Phan<br>ox-consulting<br><br>T: +44 (0)784 118 7080<br><a href="mailto:john@ox-consulting.com" target="_blank">john@ox-consulting.com</a><br><br><a href="http://www.ox-consulting.com" target="_blank">www.ox-consulting.com</a><br>
<br>OX CONSULTING Ltd is registered in England & Wales, number: 07113039, registered address as above.<br><br>The information contained in this email message may be privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this transmission is strictly prohibited. If you have received this communication in error, or if any problems occur with transmission, please notify the sender immediately.<div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div>
</div></div></div></div></div></div></div>