Estou tentando fazer uma conexão segura do servidor AD (w2k12) usando o perl Net :: LDAPs.
Etapas:
$ldaps = Net::LDAPS->new('AD.server.ip', port => '636', verify => 'none', capath => 'W2K12AD-0-CA');
$binddn = "Administrator\@NAS.net";
$mesg = $ldaps->bind (dn=>$binddn, password=>'xxxx' );
Erro ao me dar:
errorMessage' => 'I/O Error An existing connection was forcibly closed by the remote host.
Qualquer ajuda seria ótima.