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

AWS v2 processors fail to configure truststore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.28.0, 2.0.0
    • None
    • None

    Description

      AWS processors using the v2 client library (SQS, SNS, DynamoDB) fail to set up custom truststore configured via SSL Context Service. Both keystore and truststore are expected in AbstractAwsProcessor but only one of them is mandatory in SSL Context Service.

      java.lang.NullPointerException: null
          at java.base/java.util.Objects.requireNonNull(Objects.java:233)
          at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:296)
          at java.base/java.nio.file.Path.of(Path.java:148)
          at org.apache.nifi.processors.aws.v2.AbstractAwsProcessor.configureSdkHttpClient(AbstractAwsProcessor.java:295)
          at org.apache.nifi.processors.aws.v2.AbstractAwsSyncProcessor.createSdkHttpClient(AbstractAwsSyncProcessor.java:104)
          at org.apache.nifi.processors.aws.v2.AbstractAwsSyncProcessor.configureHttpClient(AbstractAwsSyncProcessor.java:71)
          at org.apache.nifi.processors.aws.v2.AbstractAwsProcessor.configureClientBuilder(AbstractAwsProcessor.java:275)
          at org.apache.nifi.processors.aws.v2.AbstractAwsProcessor.configureClientBuilder(AbstractAwsProcessor.java:268)
          at org.apache.nifi.processors.aws.v2.AbstractAwsSyncProcessor.createClient(AbstractAwsSyncProcessor.java:65) 

      Attachments

        Activity

          People

            turcsanyip Peter Turcsanyi
            turcsanyip Peter Turcsanyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m