perl NET::LDAPS を使用して安全な LDAP 接続を確立できない

perl NET::LDAPS を使用して安全な LDAP 接続を確立できない

perl Net::LDAPs を使用して AD サーバー (w2k12) の安全な接続を確立しようとしています。

手順:

$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' );

次のようなエラーが表示されます:

errorMessage' => 'I/O Error An existing connection was forcibly closed by the remote host.

どんな助けでも大歓迎です。

関連情報