[ https://issues.apache.org/jira/browse/NIFI-11918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17754614#comment-17754614 ]
ASF subversion and git services commented on NIFI-11918: -------------------------------------------------------- Commit 5b3dfec29216c54e3bce2bb595b6734de72ca5cf in nifi's branch refs/heads/support/nifi-1.23 from Peter Turcsanyi [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=5b3dfec292 ] NIFI-11918 Used java.security.cert in ListenGRPC This closes #7580 Signed-off-by: David Handermann <exceptionfact...@apache.org> (cherry picked from commit 2a3ce1cb6926f569898197afb4bc3011bb788305) > ListenGRPC with SSL fails on Java 17 > ------------------------------------ > > Key: NIFI-11918 > URL: https://issues.apache.org/jira/browse/NIFI-11918 > Project: Apache NiFi > Issue Type: Bug > Reporter: Peter Turcsanyi > Assignee: Peter Turcsanyi > Priority: Major > Fix For: 2.0.0, 1.24.0, 1.23.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > ListenGRPC processor uses some deprecated {{javax.security}} API-s and it > fails on Java 17 when SSL is turned on. > {code:java} > 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) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)