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

lutoff
26.11.2007 39d319d68cf8916be5fc4143c4ff0dfa6a1f0841
opendj-sdk/opends/src/server/org/opends/server/admin/client/cli/DsServiceCliMain.java
@@ -249,10 +249,10 @@
    else
    if (argParser.startTLS())
    {
      String ldapsUrl = "ldaps://" + host + ":" + port;
      String ldapUrl = "ldap://" + host + ":" + port;
      try
      {
        ctx = ConnectionUtils.createStartTLSContext(ldapsUrl, dn, pwd,
        ctx = ConnectionUtils.createStartTLSContext(ldapUrl, dn, pwd,
            ConnectionUtils.getDefaultLDAPTimeout(), null, argParser
                .getTrustManager(), argParser.getKeyManager(), null);
      }