DEBUG logs for the edu.vt.middleware.ldap package would also be helpful.<br><br><div class="gmail_quote">On Mon, Feb 27, 2012 at 4:14 PM, Chad La Joie <span dir="ltr">&lt;<a href="mailto:lajoie@shibboleth.net">lajoie@shibboleth.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you provide the cert?  Is there a load balancer performing<br>
SSL-offloading involved at all?<br>
<div class="HOEnZb"><div class="h5"><br>
On 2/27/12 4:01 PM, Juan Quintanilla wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m getting a similar error with connection to ldap.  We use a wild card cert *.<a href="http://fiu.edu" target="_blank">fiu.edu</a> and the message we receive is:<br>
&gt;<br>
&gt; 15:14:00.487 - ERROR [edu.vt.middleware.ldap.pool.DefaultLdapFactory:109] - unabled to connect to the ldap<br>
&gt; javax.naming.CommunicationException: simple bind failed: <a href="http://fiuldap1.fiu.edu:636" target="_blank">fiuldap1.fiu.edu:636</a><br>
&gt;<br>
&gt; Caused by: java.security.cert.CertificateException: Hostname &#39;[<a href="http://fiuldap1.fiu.edu" target="_blank">fiuldap1.fiu.edu</a>]&#39; does not match the hostname in the server&#39;s certificate<br>
&gt;<br>
&gt; Any ideas?<br>
&gt;<br>
&gt; Thanks!<br>
&gt; ___________________<br>
&gt; Juan Quintanilla<br>
&gt; UTS - Enterprise Group<br>
&gt; <a href="tel:305-348-6573" value="+13053486573">305-348-6573</a><br>
&gt; <a href="mailto:jquin014@fiu.edu">jquin014@fiu.edu</a><br>
&gt; ________________________________________<br>
&gt; From: <a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> [<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a>] on behalf of Mark Cairney [<a href="mailto:mark.cairney@ed.ac.uk">mark.cairney@ed.ac.uk</a>]<br>

&gt; Sent: Monday, February 27, 2012 10:49 AM<br>
&gt; To: Shib Users<br>
&gt; Subject: Re: Security Advisory 20120227<br>
&gt;<br>
&gt; OK I&#39;ve amended my config to point at one of the individual servers which does match the *.<a href="http://authorise-test.is.ed.ac.uk" target="_blank">authorise-test.is.ed.ac.uk</a> pattern and that seems to be working.<br>

&gt;<br>
&gt; <a href="http://authorise-test.is.ed.ac.uk" target="_blank">authorise-test.is.ed.ac.uk</a> is a round-robin DNS between 2 servers. We do have another identical round-robin DNS which does match the pattern- using this instead would be the simplest solution.<br>

&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Mark<br>
&gt;<br>
&gt; On 27 Feb 2012, at 15:38, Cantor, Scott wrote:<br>
&gt;<br>
&gt;&gt; On 2/27/12 10:28 AM, &quot;Mark Cairney&quot; &lt;<a href="mailto:mark.cairney@ed.ac.uk">mark.cairney@ed.ac.uk</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 15:22:25.776 - ERROR [edu.vt.middleware.ldap.pool.DefaultLdapFactory:109]<br>
&gt;&gt;&gt; - unabled to connect to the ldap<br>
&gt;&gt;&gt; javax.naming.CommunicationException: hostname of the server<br>
&gt;&gt;&gt; &#39;<a href="http://authorise-test.is.ed.ac.uk" target="_blank">authorise-test.is.ed.ac.uk</a>&#39; does not match the hostname in the server&#39;s<br>
&gt;&gt;&gt; certificate.<br>
&gt;&gt;<br>
&gt;&gt; That doesn&#39;t match the wildcard you have here:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Owner: EMAILADDRESS=<a href="mailto:ext6033@ed.ac.uk">ext6033@ed.ac.uk</a>, CN=*.<a href="http://authorise-test.is.ed.ac.uk" target="_blank">authorise-test.is.ed.ac.uk</a>,<br>
&gt;&gt;&gt; OU=Information Services, O=University of Edinburgh, L=Edinburgh,<br>
&gt;&gt;&gt; ST=Scotland, C=GB<br>
&gt;&gt;<br>
&gt;&gt; That would be a bug to accept it.<br>
&gt;&gt;<br>
&gt;&gt;&gt; Is this expected behaviour and are you aware of any workarounds? This<br>
&gt;&gt;&gt; setup was working fine with Shibboleth 2.3.5..<br>
&gt;&gt;<br>
&gt;&gt; That&#39;s because the library in 2.3.5 didn&#39;t verify it at all.<br>
&gt;&gt;<br>
&gt;&gt; I believe Daniel allowed for an override of the hostname verification via<br>
&gt;&gt; a custom class. I don&#39;t know if there&#39;s a class built-in that literally<br>
&gt;&gt; disables the check.<br>
&gt;&gt;<br>
&gt;&gt; -- Scott<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; /*********************************<br>
&gt; Mark Cairney<br>
&gt; ITI UNIX Section<br>
&gt; Information Services<br>
&gt; University of Edinburgh<br>
&gt;<br>
&gt; Tel: 0131 650 6565<br>
&gt; Email: <a href="mailto:mark.cairney@ed.ac.uk">mark.cairney@ed.ac.uk</a><br>
&gt;<br>
&gt; *********************************/<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; The University of Edinburgh is a charitable body, registered in<br>
&gt; Scotland, with registration number SC005336.<br>
&gt;<br>
&gt; --<br>
&gt; To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
&gt; --<br>
&gt; To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br>