[ 
https://issues.apache.org/jira/browse/NIFI-14946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18019507#comment-18019507
 ] 

Nick commented on NIFI-14946:
-----------------------------

Thanks [~exceptionfactory], and [~joewitt]  for the added explanation.
I now understand the reluctance to allow these settings to be configurable 
(where other Apache projects have allowed these settings to be disabled).

> Override Jetty Settings in the HandleHttpRequest processor
> ----------------------------------------------------------
>
>                 Key: NIFI-14946
>                 URL: https://issues.apache.org/jira/browse/NIFI-14946
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Nick
>            Assignee: David Handermann
>            Priority: Major
>
> Jetty currently enforces a check that the `Host` header in the HTTP request 
> is a valid subject in the Certificate (and if not, it fails with an `Invalid 
> SNI` error - which is not correctly worked but it is done in the same part of 
> the code that does check that the SNI server_name matches a valid SAN).
> There are cases where (in an organization) it is acceptable for the client to 
> deal with the issue of TLS trust, and allow the server (created by 
> HandleHttpRequest) to serve, no matter the hostname.
> It would be nice to be able to configure some of the settings of the 
> [SecureRequestCustomizer|https://javadoc.jetty.org/jetty-12/org/eclipse/jetty/server/SecureRequestCustomizer.html]
> This could be done by either:
>  * adding some explicit configurable properties to the HandleHttpRequest 
> processor, or
>  * making a new Service for configuring the SecureRequestCustomizer
> I think the latter option is ideal, as it could be reused by another other 
> processor that creates a Jetty server.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to