Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3794

ListenRELP should expose a Client Auth property for TLS/SSL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • None

    Description

      ListenRELP currently hard codes the client auth to REQUIRED when creating an SSLContext:

      sslContext = sslContextService.createSSLContext(SSLContextService.ClientAuth.REQUIRED);
      

      It should expose a Client Auth property like ListenTCP does and use that:

      public static final PropertyDescriptor CLIENT_AUTH = new PropertyDescriptor.Builder()
                  .name("Client Auth")
                  .description("The client authentication policy to use for the SSL Context. Only used if an SSL Context Service is provided.")
                  .required(false)
                  .allowableValues(SSLContextService.ClientAuth.values())
                  .defaultValue(SSLContextService.ClientAuth.REQUIRED.name())
                  .build();
      

      Attachments

        Issue Links

          Activity

            People

              bbende Bryan Bende
              trixpan Andre F de Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: