d2f1b841fec73893e49627be4c53f8e19c24d3fd 5007 |
|
18-Feb-2009 |
jcambon |
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). |