[
https://issues.apache.org/jira/browse/NIFI-4672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16280344#comment-16280344
]
ASF subversion and git services commented on NIFI-4672:
-------------------------------------------------------
Commit c730f802b7a20e53ee381e11c5b1d4a5b487c912 in nifi's branch
refs/heads/master from [~aldrin]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c730f80 ]
NIFI-4672 Adding missing quotes around arguments passed in from the entrypoint
script.
This closes #2322.
Signed-off-by: Aldrin Piri <[email protected]>
> NiFi toolkit is not properly passing arguments to the underlying script
> -----------------------------------------------------------------------
>
> Key: NIFI-4672
> URL: https://issues.apache.org/jira/browse/NIFI-4672
> Project: Apache NiFi
> Issue Type: Bug
> Components: Docker
> Reporter: Aldrin Piri
> Assignee: Aldrin Piri
> Fix For: 1.5.0
>
>
> If I perform a Docker run of the resulting NiFi toolkit image as an
> executable, there are inconsistencies in how the argument is passed to the
> underlying scripts.
> Consider the following where I am using the Docker image to generate
> certificates:
> {code}
> docker run --rm -it \
> -v /tmp/certs:/tmp/certs \
> apache/nifi-toolkit \
> tls-toolkit \
> standalone \
> -C "CN=Random User, OU=NiFi, O=Apache, C=US" \
> -n localhost \
> -o /tmp/certs
> {code}
> This will result in an incorrect client DN of just CN=Random being created.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)