]
Brian Stansberry commented on WFCORE-869:
-----------------------------------------
What's going to happen with this issue now that the way non-interactive CLI interacts
with aesh has been redone? Can it be resolved?
command line option to turn off CLI security prompts in
non-interactive mode
----------------------------------------------------------------------------
Key: WFCORE-869
URL:
https://issues.jboss.org/browse/WFCORE-869
Project: WildFly Core
Issue Type: Feature Request
Components: CLI
Affects Versions: 2.0.0.Alpha12
Reporter: Bartosz Spyrko-Ĺmietanko
Assignee: Alexey Loubyansky
When the management interface is secured using a SSL certificate and the certificate is
not trusted by the client, user is shown following dialog to accept the certificate:
{{Accept certificate? [N]o, [T]emporarily, [P]ermenantly : }}
The prompt is also shown in non-interactive mode (using --file or --command). If the CLI
call is a part of an automated process, this can lead to the process being blocked waiting
for user input that never happens.
If the jboss-cli is executed in non-interactive mode and the SSL certificate is not
trusted, process should immediately fail with appropriate message. Username/password
authentication prompt already works in this way.