Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2072

Support TLS configuration through FlumeAppender

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.9.1
    • None
    • Flume Appender
    • None

    Description

      When using the FlumeAppnder with a FlumeAvroManager it would be nice to be able to pass some properties through to the connect method for the RpcClient to support SSL configuration.

      The required properties to support the configuration are ~
      properties[0] = Property.createProperty(RpcClientConfigurationConstants.CONFIG_TRUST_ALL_CERTS, "false");
      properties[1] = Property.createProperty(RpcClientConfigurationConstants.CONFIG_SSL, "true");
      properties[2] = Property.createProperty(RpcClientConfigurationConstants.CONFIG_TRUSTSTORE, path_to_truststore);
      properties[3] = Property.createProperty(RpcClientConfigurationConstants.CONFIG_TRUSTSTORE_PASSWORD, super_secret);
      properties[4] = Property.createProperty(RpcClientConfigurationConstants.CONFIG_TRUSTSTORE_TYPE, "JKS");

      I am happy to provide a PR for this feature if supported.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fswanson@gohealth.com Frank Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: