Fix for issue #1814 (dsservice with startTLS doesn't work)
StartTLS works on the ldap port (not the ldaps port)
See also commit rev #2182
| | |
| | | /** |
| | | * Tests a list-groups using StartTLS with blind trust. |
| | | */ |
| | | @Test(enabled=false) |
| | | @Test() |
| | | public void testListGroupsStartTLSBlindTrust() |
| | | { |
| | | String[] args = |
| | | { |
| | | "list-groups", |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapsPort()), |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapPort()), |
| | | "-w", "password", |
| | | "-q", |
| | | "-X" |
| | |
| | | /** |
| | | * Tests a list-groups using StartTLS with a trust store. |
| | | */ |
| | | @Test(enabled=false) |
| | | @Test() |
| | | public void testListGroupsStartTLSTrustStore() |
| | | { |
| | | String trustStorePath = DirectoryServer.getServerRoot() + File.separator + |
| | |
| | | String[] args = |
| | | { |
| | | "list-groups", |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapsPort()), |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapPort()), |
| | | "-w", "password", |
| | | "-q", |
| | | "-P", trustStorePath |