[
https://issues.apache.org/jira/browse/NIFI-11918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Turcsanyi updated NIFI-11918:
-----------------------------------
Description:
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}
was:
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}
> 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
>
> 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)