更新时间:2022-01-30 08:05:41
是的,WILL_NOT_PERFORM错误是公元告诉你,你需要使用SSL连接来设置密码。
Yes, the WILL_NOT_PERFORM error is AD telling you that you need to use an SSL connection to set the password.
要建立SSL连接时,您需要使用,看起来像一个网址: LDAPS://your.ldap.server:636
(注意LDAPS) 。如果你得到一个证书验证错误,你需要使用密钥工具导入AD服务器的证书到Java密钥库,让您的Java应用程序识别的证书是有效的。
To make an SSL connection, you need to use a URL that looks like: ldaps://your.ldap.server:636
(note the "ldaps"). If you get a certificate validation error, you'll need to use "keytool" to import the AD server's certificate into your Java keystore, so your Java application recognizes the certificate as valid.