Re: ssl/tls troubles

2014-09-11 Thread Natxo Asenjo
Hi Daniel, On Thu, Sep 11, 2014 at 8:57 PM, Daniel Stutz wrote: > Did you try the ‚cafile‘ option of start_tls? > http://search.cpan.org/~marschap/perl-ldap/lib/Net/LDAP.pod#start_tls > > Yes, I tried that as well, but it did not work either. But apparently the module is smart enough to look int

Re: ssl/tls troubles

2014-09-11 Thread Daniel Stutz
Did you try the ‚cafile‘ option of start_tls? http://search.cpan.org/~marschap/perl-ldap/lib/Net/LDAP.pod#start_tls Regards, Daniel Am 11.09.2014 um 17:58 schrieb Natxo Asenjo : > hi, > > in my host (fedora 20)I have imported the root CA certificate of our > corporate AD domain. Using ldapsear

Re: ssl/tls troubles

2014-09-11 Thread Natxo Asenjo
ok, solved. I removed the capath and it works. It finds the certificate automatically. Apologies for the noise. -- Groeten, natxo

ssl/tls troubles

2014-09-11 Thread Natxo Asenjo
hi, in my host (fedora 20)I have imported the root CA certificate of our corporate AD domain. Using ldapsearch it works, and visiting secure sites signed by that CA are verified. But I do not exactly know hot to tell my script how to do the same. This is it: use Net::LDAP; use Data::Dumper; my