]
Alexey Loubyansky resolved WFCORE-869.
--------------------------------------
Fix Version/s: 2.0.0.CR1
Resolution: Done
Yes,
resolves this issue.
The input can be disabled now with --error-on-interact jboss-cli.[sh|bat] argument.
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
Fix For: 2.0.0.CR1
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.