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

ListenGRPC with SSL fails on Java 17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M1, 1.24.0, 1.23.1
    • None
    • None

    Description

      ListenGRPC processor uses some deprecated javax.security API-s and it fails on Java 17 when SSL is turned on.

      java.lang.UnsupportedOperationException: This method is deprecated and marked for removal. Use the getPeerCertificates() method instead.
          at java.base/javax.net.ssl.SSLSession.getPeerCertificateChain(SSLSession.java:295) 
          at org.apache.nifi.processors.grpc.FlowFileIngestServiceInterceptor.interceptCall(FlowFileIngestServiceInterceptor.java:103)
      

      Attachments

        Issue Links

          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 - 0.5h
                  0.5h