mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
14.09.2007 69960614411c1ed7c41c5b8002c557370a76eab0
fix for issue #2257 (dsconfig/security: truststore doesn't seem to be taken into account when a a keystore is specfiied)
1 files modified
2 ■■■■■ changed files
opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java 2 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java
@@ -109,6 +109,7 @@
            ctx = ConnectionUtils.createLdapsContext(ldapsUrl, bindDN,
                bindPassword, ConnectionUtils.getDefaultLDAPTimeout(), null,
                trustManager, keyManager);
            ctx.reconnect(null);
            conn = JNDIDirContextAdaptor.adapt(ctx);
            break;
          }
@@ -157,6 +158,7 @@
            ctx = ConnectionUtils.createStartTLSContext(ldapUrl, bindDN,
                bindPassword, ConnectionUtils.getDefaultLDAPTimeout(), null,
                trustManager, keyManager, null);
            ctx.reconnect(null);
            conn = JNDIDirContextAdaptor.adapt(ctx);
            break;
          }