如何确保在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行的错误呢?
谢谢。
发布于 2013-08-02 22:24:17
是的,SSL已启用。
我在评论中提供的URL有更多细节。
https://stackoverflow.com/questions/17347082
复制相似问题