如何确保在Active Directory服务器上正确启用SSL?

时间:2013-06-27 15:20:21

标签: ssl active-directory

如何确保在Active Directory服务器上正确启用SSL?

在服务器本身,如果我运行ldp,我想我可以在636端口连接。

我在输出中看到类似的东西:

ld = ldap_sslinit("localhost", 636, 1);

Error <0x0> = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, LDAP_VERSION3);

Error <0x0> = ldap_connect(hLdap, NULL);

Error <0x0> = ldap_get_option(hLdap,LDAP_OPT_SSL,(void*)&lv);

Host supports SSL, SSL cipher strength = 128 bits

Established connection to localhost.

Retrieving base DSA information...

Result <0>: (null)

Matched DNs:

Getting 1 entries:

>> Dn:

**** and 10-12 more lines **** 

这是否意味着SSL已正确启用?

2-4行错误怎么办?

感谢。

1 个答案:

答案 0 :(得分:0)

是的,已启用SSL。

我在评论中提供的网址有更多详情。