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

jcambon
18.08.2009 638a9739f265115c9092ddec29c447dfa8c6ab10
refs
author jcambon <jcambon@localhost>
Wednesday, February 18, 2009 18:08 +0100
committer jcambon <jcambon@localhost>
Wednesday, February 18, 2009 18:08 +0100
commit638a9739f265115c9092ddec29c447dfa8c6ab10
tree 78808c5a05417c112a00e5f0ef660fc79f10cc36 tree | zip | gz
parent 2bafe3d40291fedf4cc120017070750aa89a0e37 view | diff
Fix for issue #3625 : CLIs : Avoid certificate interaction in interactive mode

This fix improves the ease of use of dsconfig and other CLIs:

1. If the CLI is launched in the same instance than the server,
there is no anymore the user interaction for certificate checking.
The truststore used is the one of the administration connector (which is always present).

2. The default port is the one of the local configuration file (instead of 4444).


CLIs that will take benefit of this are :
- dsconfig
- status
- dsreplication
- manage-tasks
- uninstall

Note that this change does not break any interface: it just simplifies the user interaction in case of CLI and server running in the same instance (which is what we usually do).
In non-interactive mode, in this case the "-X/--trustAll" is not required anymore (although it can still be used).

4 files modified
166 ■■■■ changed files
opends/src/messages/messages/dsconfig.properties 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsreplication/ReplicationCliMain.java 1 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/status/StatusCli.java 28 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/cli/LDAPConnectionConsoleInteraction.java 135 ●●●●● diff | view | raw | blame | history