https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292017-09-25T15:08:26ZRedmineRedmine - Defect #27071: Error testing LDAPS Connection: "Unable to connect (hostname X.X.X.X does not match the server certificate)"https://www.redmine.org/issues/27071?journal_id=812762017-09-25T15:08:26ZToshi MARUYAMA
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/81276/diff?detail_id=64123">diff</a>)</li></ul> Redmine - Defect #27071: Error testing LDAPS Connection: "Unable to connect (hostname X.X.X.X does not match the server certificate)"https://www.redmine.org/issues/27071?journal_id=812792017-09-25T15:19:26ZToshi MARUYAMA
<ul></ul>It seems related:
<ul>
<li><a class="external" href="https://github.com/ruby-ldap/ruby-net-ldap/issues/258">https://github.com/ruby-ldap/ruby-net-ldap/issues/258</a></li>
<li><a class="external" href="https://github.com/ruby-ldap/ruby-net-ldap/pull/279">https://github.com/ruby-ldap/ruby-net-ldap/pull/279</a></li>
<li><a class="external" href="https://stackoverflow.com/questions/9199660/why-is-ruby-unable-to-verify-an-ssl-certificate#9238221">https://stackoverflow.com/questions/9199660/why-is-ruby-unable-to-verify-an-ssl-certificate#9238221</a></li>
</ul> Redmine - Defect #27071: Error testing LDAPS Connection: "Unable to connect (hostname X.X.X.X does not match the server certificate)"https://www.redmine.org/issues/27071?journal_id=816512017-10-19T07:08:51ZBoris B
<ul></ul><p>Same problem with Redmine 3.2.3 on Ubuntu 16.10. For info, I'm also using Rhodecode on the same server which has no problem to connect to the LDAPS.</p>
<p>OpenSSL s_client also works after putting the LDAP certificate in /etc/ssl/certs/ca-bundle.crt.</p>
<p>This is really an issue for us since we want to use the same company accounts for Git and Redmine.</p> Redmine - Defect #27071: Error testing LDAPS Connection: "Unable to connect (hostname X.X.X.X does not match the server certificate)"https://www.redmine.org/issues/27071?journal_id=816632017-10-19T12:48:41ZMischa The Evil
<ul></ul><p>Just my two cents on this matter: this is something that might be solved by the upgrade of the <code>net-ldap</code> gem to 0.16 in <a class="changeset" title="LdapError is deprecated (#24970)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/16773">r16773</a> for <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Net::LDAP::LdapError is deprecated (Closed)" href="https://www.redmine.org/issues/24970">#24970</a>, which is going to be shipped with the upcoming Redmine 4.0.0 release.</p> Redmine - Defect #27071: Error testing LDAPS Connection: "Unable to connect (hostname X.X.X.X does not match the server certificate)"https://www.redmine.org/issues/27071?journal_id=816802017-10-20T07:59:31ZBoris B
<ul></ul><p>I updated net-ldap gem to 0.16 and it did not fix the issue.</p> Redmine - Defect #27071: Error testing LDAPS Connection: "Unable to connect (hostname X.X.X.X does not match the server certificate)"https://www.redmine.org/issues/27071?journal_id=872392018-09-13T13:59:04ZHolger Just
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/29606">Patch #29606</a>: Support self-signed LDAPS connections</i> added</li></ul> Redmine - Defect #27071: Error testing LDAPS Connection: "Unable to connect (hostname X.X.X.X does not match the server certificate)"https://www.redmine.org/issues/27071?journal_id=877712018-10-02T14:48:43ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Priority</strong> changed from <i>High</i> to <i>Normal</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>You will be able to disable a certificate check in upcoming Redmine 4.0.0. See <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Support self-signed LDAPS connections (Closed)" href="https://www.redmine.org/issues/29606">#29606</a> for details.</p>