Hello,<br><br>I have FDS 1.0.4 running using an SSL certificate generated by an Microsoft windows 2003 CA server.<br>I choose this method as opposed to the setupssl.sh script from the wiki because I have read in the list archives that it is the best way to avoid trust issues when setting up PassSync over SSL between FDS and AD. I&#39;m having a hard time finding references for configuring this properly and I know very little about SSL certificates so I&#39;m making some guesses and likely missing a crucial step or two.
<br>The problem is that when trying to bind to the FDS using SSL I get certificate verification errors.<br><br>&gt; # ldapsearch -x -H ldaps://localhost/<br>&gt; ldap_bind: Can&#39;t contact LDAP server (-1)<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<br><br>Here&#39;s how I set up the certificates...<br>1. Generated a CSR using the FDS console wizard and submitted it to the MS CA.<br>2. Imported the CA certificate (called &quot;it&quot;) and the signed &quot;server-cert&quot; resulting from step 1 from the MS CA using the FDS admin console.
<br>3. Enabled SSL (port 636) in the directory server using server-cert from step 1.<br><br>I used certutil to display the list of certificates in the FDS cert db.<br>&gt; [alias]# ../shared/bin/certutil -L -d . -P slapd-&lt;instance&gt;-
<br>&gt; 
server-cert&nbsp;&nbsp;&nbsp; u,u,u<br>&gt; 
it&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CT,, <br>
<br>Then verified that &quot;server-cert&quot; was considered valid.<br>&gt; 
[alias]# ../shared/bin/certutil -V -n server-cert -e -u V -d . -P slapd-&lt;instance&gt;-<br>&gt; 
Enter Password or Pin for &quot;NSS Certificate DB&quot;:<br>&gt; 
certutil-bin: certificate is valid<br><br>I also verified that that I can connect using openssl client.<br>&gt; # openssl s_client -connect localhost:636 -showcerts -CAfile /path/to/it_ca.crt<br>&nbsp; --snip--<br>&gt; &nbsp;&nbsp;&nbsp; Verify return code: 0 (ok)
<br>&gt; ---<br><br>Any hints as to what I might be doing wrong are greatly appreciated.<br><br>Thanks,<br>-Jake<br><br><br><br><br><br>