[
https://issues.apache.org/jira/browse/IGNITE-29212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton Vinogradov updated IGNITE-29212:
--------------------------------------
Description:
Operators configure HTTPS for Ignite's HTTP REST endpoint in {{jetty.xml}}.
They should be able to rotate its certificates without restarting the node,
using the TLS settings and factory already configured there.
After replacing keys or trusted certificates in the configured source, an
operator can run {{control.sh --ssl reload}}. On each node serving HTTPS, the
command should report {{HTTP REST}} as reloaded only after the factory
completes the reload. If it fails, the result should identify the node and the
cause.
After a successful reload, new HTTPS connections use the replacement
certificates and established connections stay open. When the configured factory
supports automatic updates and they are enabled, new connections should also
pick up replacements without a command.
Verify the rotation by checking the certificate presented to a new HTTPS
client. Document how to recover if a reload fails. With the standard Jetty
factory, recovery can require restoring a valid store and running the command
again.
was:
Operators can configure HTTPS for the HTTP REST endpoint in {{jetty.xml}}.
After replacing its key or trust store, they should be able to run {{control.sh
--ssl reload}} without restarting the node.
Once the HTTPS connector starts, register its Jetty TLS factory with the
command. Call {{reload()}} on that instance and report the result as {{HTTP
REST}}. Only running HTTPS connectors participate.
After a successful reload, new HTTPS connections use the replacement
certificates. Established connections stay open. If the standard Jetty factory
cannot read the replacement store, restore a valid store at the configured path
and rerun the command to resume accepting new connections. Custom factories
handle reload failures according to their own implementation.
Automatic updates follow the Jetty configuration. For example,
{{KeyStoreScanner}} can reload a file-based factory when its key store changes.
Verify by replacing the key store, running the command, and checking which
certificate a new HTTPS client receives.
> Reload HTTP REST certificates from the Jetty configuration
> ----------------------------------------------------------
>
> 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 20m
> Remaining Estimate: 0h
>
> Operators configure HTTPS for Ignite's HTTP REST endpoint in {{jetty.xml}}.
> They should be able to rotate its certificates without restarting the node,
> using the TLS settings and factory already configured there.
> After replacing keys or trusted certificates in the configured source, an
> operator can run {{control.sh --ssl reload}}. On each node serving HTTPS, the
> command should report {{HTTP REST}} as reloaded only after the factory
> completes the reload. If it fails, the result should identify the node and
> the cause.
> After a successful reload, new HTTPS connections use the replacement
> certificates and established connections stay open. When the configured
> factory supports automatic updates and they are enabled, new connections
> should also pick up replacements without a command.
> Verify the rotation by checking the certificate presented to a new HTTPS
> client. Document how to recover if a reload fails. With the standard Jetty
> factory, recovery can require restoring a valid store and running the command
> again.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)