<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=29&amp;t=1213" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2013-10-29T12:45:08+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=29&amp;t=1213</id>
<entry>
<author><name><![CDATA[samir]]></name></author>
<updated>2013-10-29T12:45:08+01:00</updated>
<published>2013-10-29T12:45:08+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1213&amp;p=4564#p4564</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1213&amp;p=4564#p4564"/>
<title type="html"><![CDATA[Re: [Question] What ldap certificate for Secure LDAP import?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1213&amp;p=4564#p4564"><![CDATA[
Hello,<br /><br />With an assumption you are using a CA chain, we recommend you to please follow the steps below to integrate the AD with your YubiRADIUS setup:<br /><br />Please put the the following entries to the &quot;LDAP Certificate&quot; text box under &quot;Users Import&quot; tab:<br /><br />We recommend you please extract the full certificate string starting from &quot;-------BEGIN CERTIFICATE----------&quot; tag and ending with &quot;--------END CERTIFICATE---------&quot; tag.<br /><br />Also make the following changes to /etc/ldap/ldap.conf file.<br /><br />Please comment the following lines :<br /><br />#TLS_CACERTDIR /etc/ssl/certs<br /><br />Remove comment from the follwing line:<br /><br />TLS_CACERTDIR /etc/ssl/yubico-RoP<br /><br />Test the YubiRADIUS by using following steps:<br /><br />Go to YubiRADIUS &gt;&gt; create new domain &gt;&gt; select that domain &gt;&gt; click on &quot;User Import&quot; tab &gt;&gt; select the &quot;Use Secure Connection option&quot; to &quot;Yes&quot; &gt;&gt; enter the extracted certificate in &quot;Ldap certificate&quot; field &gt;&gt; enter the remaining credentials on that page &gt;&gt; click on &quot;Import Users&quot; button.<br /><br />FYI,<br />You can check whether the SSL connection is working and see what is happening by issuing the command:<br /> $ openssl s_client -connect &lt;ip&gt;:636 -CApath /etc/ssl/certs<br />To test whether the SSL connection is working correctly with LDAP, try the following command:<br /> $ ldapsearch -x -H <!-- m --><a class="postlink" href="ldaps://ads.domain.com">ldaps://ads.domain.com</a><!-- m --> -b &lt;BASEDN&gt; -D &lt;binddn&gt; -w &lt;password&gt;<br />If ldapsearch fails, while the s_client test returns with 'Verify return code 0 (ok)', please make sure that the URL you are connecting with after the -H option contains the exact same hostname as is specified behind CN= in the output of s_client (at the very beginning of the output from s_client).<br /><br />Hope this helps.<br /><br />Thanks and best regards,<br />Samir.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1076">samir</a> — Tue Oct 29, 2013 12:45 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[JordanAutomations]]></name></author>
<updated>2013-10-24T20:23:28+01:00</updated>
<published>2013-10-24T20:23:28+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1213&amp;p=4541#p4541</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1213&amp;p=4541#p4541"/>
<title type="html"><![CDATA[[Question] What ldap certificate for Secure LDAP import?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1213&amp;p=4541#p4541"><![CDATA[
I have standard ldap user import working against either of my domain controllers: dc1.my.domain.com or dc2.my.domain.com. I'm planning on putting dc1.my.domain.com in for primary and dc2.my.domain.com for backup ldap/ad server.<br /><br />I'm wanting to implement secure ldap, and I see I need to provide a ldap certificate when I enable it. I'm not quite sure what I should be putting in here. Would it be the public certificate for dc1.my.domain.com in pem format? If I use DC1's cert, then isn't it going to fail if it attempts to use DC2? Can I sprovide the public key that signed both DC1 and DC2 so that it can trust either?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2657">JordanAutomations</a> — Thu Oct 24, 2013 8:23 pm</p><hr />
]]></content>
</entry>
</feed>