[
https://issues.apache.org/jira/browse/NIFI-5161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16466478#comment-16466478
]
ASF subversion and git services commented on NIFI-5161:
-------------------------------------------------------
Commit 2094786ec83567a375a719adacc71341bd81408b in nifi's branch
refs/heads/master from [~thenatog]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=2094786 ]
NIFI-5161 - Moved filename escaping method to TlsHelper.java to allow use by
the different Tls modes.
Added another test for special characters in the DN/output key filename.
Added a method to escape special characters in the alias name for keys in the
truststore. This fixes an error with the TlsToolkit which occurs when
extracting keys and writing them to file.
This closes #2684.
Signed-off-by: Andy LoPresto <[email protected]>
> Toolkit character escaping issue
> --------------------------------
>
> Key: NIFI-5161
> URL: https://issues.apache.org/jira/browse/NIFI-5161
> Project: Apache NiFi
> Issue Type: Bug
> Components: Tools and Build
> Reporter: Matt Gilman
> Assignee: Nathan Gough
> Priority: Minor
>
> The Java Keystore does not perform any character validation on the alias
> field, so theoretically a "/" character should be accepted. According to the
> Java documentation, the only instruction is "Whether aliases are case
> sensitive is implementation dependent. In order to avoid problems, it is
> recommended not to use aliases in a KeyStore that only differ in case."
> The toolkit will need to be updated to correctly escape special characters
> when passing them to the Java commands.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)