Bartosz Spyrko-Śmietanko created WFCORE-869:
-----------------------------------------------
Summary: CLI in non-interactive mode should not ask for certificate
acceptance
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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)