Performance problem when using LDAPS

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

After setting an LDAP directory connector to use SSL (Secure Connection), the Crowd instance and/or integrated applications exhibit performance problems.

原因

The default JNDI/LDAP service provider in Java does not pool SSL connections by default, which means every LDAP request must open a new connection to the server (reference).

ソリューション

 To force the JVM to pool SSL connections, add the following line to your Apache Tomcat /bin/setenv.sh (setenv.bat for Windows) file:

Linux の場合

JAVA_OPTS="$JAVA_OPTS -Dcom.sun.jndi.ldap.connect.pool.protocol='plain ssl' -Dcom.sun.jndi.ldap.connect.pool.authentication='none simple DIGEST-MD5'"

Windows の場合

JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.jndi.ldap.connect.pool.protocol="plain ssl" -Dcom.sun.jndi.ldap.connect.pool.authentication="none simple DIGEST-MD5"

If you wish to customize the SSL connection pooling further, please see the full documentation provided by Sun.

最終更新日 2016 年 4 月 4 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.