[
https://issues.apache.org/jira/browse/IGNITE-29212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146980#comment-18146980
]
Anton Vinogradov commented on IGNITE-29212:
-------------------------------------------
(?) *No blockers found* — [Ignite PR
Checker|https://ignite-pr-checker.is-a.dev/ignite?pr=13854] verdict for PR 13854
1 suite gave no result, same as on master:
- [Platform .NET (Core Linux)|https://ci2.ignite.apache.org/build/9509707] —
non-zero exit code
*Next:* nothing to do for this PR.
_RunAll [9509536|https://ci2.ignite.apache.org/build/9509536] ·
[888d761|https://github.com/apache/ignite/pull/13854/commits/888d7610deefb20e24be6a26989f6ac1d02f2290]
·
[glossary|https://github.com/anton-vinogradov/ignite-pr-checker/blob/main/docs/features.md#verdict-glossary]_
♻️ Settled after 2 auto re-run waves: #1 — 2 suites that failed mid-run; #2 — 2
suites (1 with blockers, 1 broken).
> Configure HTTPS for HTTP REST with a reloadable SSL context factory
> -------------------------------------------------------------------
>
> Key: IGNITE-29212
> URL: https://issues.apache.org/jira/browse/IGNITE-29212
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Anton Vinogradov
> Assignee: Anton Vinogradov
> Priority: Major
> Labels: ise
> Time Spent: 2h
> Remaining Estimate: 0h
>
> HTTP REST can already serve HTTPS configured in Jetty XML, but that setup is
> outside Ignite's reload and renewal. The existing TLS properties in
> {{ConnectorConfiguration}} apply to binary REST. Add a separate SSL factory
> setting for HTTP REST so it can use the same reload command and renewal
> schedule as TCP transports.
> h3. Add factory-managed HTTPS
> # Add {{ConnectorConfiguration.httpSslFactory}} to enable HTTPS on the
> built-in HTTP connector or a Jetty XML connector whose default protocol is
> HTTP and which has no TLS of its own. Add {{httpSslClientAuth}} to require a
> trusted client certificate.
> # Apply the factory's exact enabled protocols and cipher suites; do not let
> Jetty's default exclusions silently narrow them. Keep configured Jetty Host
> and SNI checks. Without an explicit secure request customizer, Jetty checks
> the request Host against the server certificate, so the server host name or
> IP address used by clients must match it.
> # When HTTP REST starts, reject a configured factory if the connector already
> defines TLS or its default protocol is not HTTP. Also reject
> {{httpSslClientAuth}} without {{httpSslFactory}}. These errors must fail node
> startup before the connector can serve plaintext HTTP.
> h3. Join the existing reload mechanism
> # Once factory-managed HTTPS starts, include HTTP REST in reload results.
> Schedule renewal if its factory supports it and renewal is enabled, as
> defined in IGNITE-29211. A factory that does not extend
> {{AbstractSslContextFactory}} can supply the startup context, but reload must
> report it as unsupported.
> # During loading and after failure, new connections use the previous context.
> After success they use the replacement; established connections stay open.
> Use the same guarantees for manual reload and automatic renewal.
> # Start and stop a {{LifecycleAware}} factory once per node, including when
> HTTP and binary REST share it.
> Keep HTTPS configured directly in Jetty XML unchanged and outside reload and
> its results. Document the new settings and how to migrate that setup to a
> factory with a restart. Add HTTPS to the reload and renewal instructions from
> IGNITE-29210 and IGNITE-29211.
> h3. Done when
> Verify key and trust rotation, mutual TLS, exact TLS settings, Host checks,
> failed reload, established connections and shared-factory lifecycle. Cover
> both supported connector configurations and unchanged HTTPS configured
> directly in Jetty XML. Rejected configurations must never serve plaintext
> HTTP; reload must list only factory-managed HTTPS that actually started.
> Include a scheduled-renewal test showing that a new HTTPS connection uses the
> replacement while an established connection stays usable.
> Depends on IGNITE-29211. This ticket completes HTTP integration of the
> existing command and scheduler.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)