[ 
https://issues.apache.org/jira/browse/NIFI-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15395914#comment-15395914
 ] 

ASF GitHub Bot commented on NIFI-2193:
--------------------------------------

Github user brosander commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/695#discussion_r72470842
  
    --- Diff: nifi-toolkit/nifi-toolkit-assembly/pom.xml ---
    @@ -0,0 +1,89 @@
    +<?xml version="1.0" encoding="UTF-8"?>
    +<!-- Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
    +license agreements. See the NOTICE file distributed with this work for 
additional
    +information regarding copyright ownership. The ASF licenses this file to
    +You under the Apache License, Version 2.0 (the "License"); you may not use
    +this file except in compliance with the License. You may obtain a copy of
    +the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
    +by applicable law or agreed to in writing, software distributed under the
    +License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
CONDITIONS
    +OF ANY KIND, either express or implied. See the License for the specific
    +language governing permissions and limitations under the License. -->
    +<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
    +    <modelVersion>4.0.0</modelVersion>
    +    <parent>
    +        <groupId>org.apache.nifi</groupId>
    +        <artifactId>nifi-toolkit</artifactId>
    +        <version>1.0.0-SNAPSHOT</version>
    +    </parent>
    +    <artifactId>nifi-toolkit-assembly</artifactId>
    +    <packaging>pom</packaging>
    +    <description>This is the assembly Apache NiFi Toolkit</description>
    +    <build>
    +        <plugins>
    +            <plugin>
    +                <groupId>org.apache.rat</groupId>
    +                <artifactId>apache-rat-plugin</artifactId>
    +                <configuration>
    +                    <excludes combine.children="append">
    +                        
<exclude>src/main/resources/conf/config-client.json</exclude>
    +                        
<exclude>src/main/resources/conf/config-server.json</exclude>
    +                    </excludes>
    +                </configuration>
    +            </plugin>
    +            <plugin>
    +                <artifactId>maven-assembly-plugin</artifactId>
    +                <configuration>
    +                    <finalName>nifi-toolkit-${project.version}</finalName>
    +                </configuration>
    +                <executions>
    +                    <execution>
    +                        <id>make shared resource</id>
    +                        <goals>
    +                            <goal>single</goal>
    +                        </goals>
    +                        <phase>package</phase>
    +                        <configuration>
    +                            <archiverConfig>
    +                                
<defaultDirectoryMode>0755</defaultDirectoryMode>
    +                                <directoryMode>0755</directoryMode>
    +                                <fileMode>0644</fileMode>
    +                            </archiverConfig>
    +                            <descriptors>
    +                                
<descriptor>src/main/assembly/dependencies.xml</descriptor>
    +                            </descriptors>
    +                            <tarLongFileMode>posix</tarLongFileMode>
    +                        </configuration>
    +                    </execution>
    +                </executions>
    +            </plugin>
    +        </plugins>
    +    </build>
    +    <dependencies>
    +        <dependency>
    +            <groupId>org.apache.nifi</groupId>
    +            <artifactId>nifi-toolkit-tls</artifactId>
    +        </dependency>
    +        <dependency>
    +            <groupId>org.slf4j</groupId>
    +            <artifactId>slf4j-api</artifactId>
    +            <scope>compile</scope>
    +            <version>1.7.12</version>
    +        </dependency>
    +        <dependency>
    +            <groupId>org.eclipse.jetty</groupId>
    +            <artifactId>jetty-server</artifactId>
    +            <scope>compile</scope>
    +        </dependency>
    +        <dependency>
    +            <groupId>javax.servlet</groupId>
    +            <artifactId>javax.servlet-api</artifactId>
    +            <scope>compile</scope>
    +        </dependency>
    +        <dependency>
    +            <groupId>commons-io</groupId>
    +            <artifactId>commons-io</artifactId>
    --- End diff --
    
    If I remove it, it the assembly doesn't honor the 2.5 version from 
nifi-toolkit-tls, instead pulling in version 2.4.
    
    I'm mainly using it for its BoundedReader functionality (to prevent a 
malicious client from sending an arbitrarily large payload) which isn't 
available until 2.5.


> Command Line Keystore and Truststore utility
> --------------------------------------------
>
>                 Key: NIFI-2193
>                 URL: https://issues.apache.org/jira/browse/NIFI-2193
>             Project: Apache NiFi
>          Issue Type: New Feature
>            Reporter: Bryan Rosander
>            Assignee: Bryan Rosander
>
> In order to facilitate secure setup of NiFi, it would be useful to have a 
> command line utility capable of generating the required keystores, 
> truststore, and relevant configuration files.
> It should be able to generate keystores for each NiFi node, a truststore that 
> they all use, and relevant passwords and configuration files for using the 
> keystores and truststore.
> Additionally, in order to support distributed deployment, a web based 
> certificate authority with corresponding client will allow for each NiFi 
> instance to generate its own keypair and then request signing by the CA.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to