<div dir="ltr">Hey folks<br><br>I have an app that uses Net::LDAP.&nbsp; The ldap server i am connecting to requires 64 bit or higher encryption but I cant seem to force Net::LDAP to cooperate.&nbsp; Allegedly I should be able to choose the ciphers used with OpenSSL by passing values to the start_tls subroutine.&nbsp; What follows is an approximation of my code with sensitive data removed:<br>
<br>my $ldap = Net::LDAP-&gt;($ldap_server, scheme =&gt; &#39;ldaps&#39;, version =&gt; 3);<br>$ldap-&gt;start_tls( cafile =&gt;$ca_file, ciphers =&gt; &#39;ALL:!RC4:@STRENGTH&#39;);<br>my $mesg = $ldap-&gt;bind($bind_dn, port =&gt; 636, password =&gt; $password);<br>
<br>The above value being passed to ciphers is just one of many I have tried including but not limited to: HIGH, MEDIUM, AES, SSLv3, ALL:!ADH@STRENTH.&nbsp; Regardless of what I pass here, when I check $ldap-&gt;cipher() it always returns EXP1024-RC4-SHA.<br>
<br>I was originally running version 0.33 but upgraded to 0.36 today in the hopes that it was a simple bug that had already been addressed.<br><br>Anyone else have any experience with this module that might be able to offer some advice?<br>
<br>TIA<br><br>-bill<br></div>