[jboss-jira] [JBoss JIRA] (WFCORE-869) CLI in non-interactive mode should not ask for certificate acceptance

Darran Lofthouse (JIRA) issues at jboss.org
Thu Aug 6 07:00:05 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096130#comment-13096130 ] 

Darran Lofthouse commented on WFCORE-869:
-----------------------------------------

This must not change existing behaviour - having an administrator execute a single command or a file full of commands but not entering an interactive shell session is a valid use case.

My recommendation is that there is an additional flag '--silent' to completely disable prompting the user for security questions.

> 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)



More information about the jboss-jira mailing list