Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
413 commits
Select commit Hold shift + click to select a range
bfd9416
Merge branch 'ignite-29210' into ignite-29211
anton-vinogradov Oct 29, 2026
6459a46
IGNITE-29209 Allow factory details in .NET SSL error assertions
anton-vinogradov Oct 29, 2026
754cc1e
Merge branch 'ignite-29209' into ignite-29210
anton-vinogradov Oct 29, 2026
ee1c1e2
Merge branch 'ignite-29210' into ignite-29211
anton-vinogradov Oct 29, 2026
71459c7
IGNITE-29210 Clarify SSL reload certificate checks
anton-vinogradov Oct 29, 2026
c35ec73
Merge branch 'ignite-29210' into ignite-29211
anton-vinogradov Oct 29, 2026
e9a90b4
IGNITE-29210 Wait for consistency cancellation status cleanup in tests
anton-vinogradov Nov 1, 2026
6df7a90
Merge ignite-29210 into ignite-29211
anton-vinogradov Nov 1, 2026
ba1dbcf
IGNITE-29209 Let SSL factories own initialized bundles
anton-vinogradov Nov 3, 2026
22e3ec5
IGNITE-29209 Clarify initialized factory lifetime
anton-vinogradov Nov 3, 2026
f3b80a0
IGNITE-29210 Reload the state owned by SSL factories
anton-vinogradov Nov 3, 2026
f869900
Merge branch 'ignite-29209' into ignite-29210
anton-vinogradov Nov 3, 2026
4c35f32
IGNITE-29211 Renew the material owned by the SSL factory
anton-vinogradov Nov 3, 2026
5a30822
Merge branch 'ignite-29210' into ignite-29211
anton-vinogradov Nov 3, 2026
f6b57b3
IGNITE-29209 Keep initialization tests and helpers within API scope
anton-vinogradov Nov 3, 2026
9b80a43
IGNITE-29210 Remove test-only SSL provider context accessor
anton-vinogradov Nov 3, 2026
dec35ba
IGNITE-29211 Remove test-only SSL provider forwarding
anton-vinogradov Nov 3, 2026
de9fcf9
IGNITE-29210 Keep consistency cancellation fix in its own branch
anton-vinogradov Nov 3, 2026
c424767
IGNITE-29210 Merge reviewed factory initialization foundation
anton-vinogradov Nov 3, 2026
34b1f7a
IGNITE-29211 Merge reviewed manual reload foundation
anton-vinogradov Nov 3, 2026
79323d1
IGNITE-29211 Honor overridden SSL renewal settings
anton-vinogradov Nov 3, 2026
19c2dd7
IGNITE-29209 Return accepted SSL context snapshots
anton-vinogradov Nov 3, 2026
2eab286
IGNITE-29210 Keep SSL forwarding in the node provider
anton-vinogradov Nov 3, 2026
4daf24c
IGNITE-29211 Merge snapshot factory and node SSL forwarding
anton-vinogradov Nov 3, 2026
f07e080
IGNITE-29209 Initialize key managers with loaded key material
anton-vinogradov Nov 3, 2026
40b2d6e
IGNITE-29210 Merge initialized key material values
anton-vinogradov Nov 3, 2026
c1f2255
IGNITE-29211 Merge initialized key material values
anton-vinogradov Nov 3, 2026
2589424
IGNITE-29209 Keep SSL bundle construction as a protected hook
anton-vinogradov Nov 3, 2026
ecdc378
IGNITE-29210 Use the protected SSL loading hook in tests
anton-vinogradov Nov 3, 2026
69db941
IGNITE-29211 Use the protected SSL loading hook in tests
anton-vinogradov Nov 3, 2026
1b17a46
IGNITE-29209 Clarify prepared key material hook contract
anton-vinogradov Nov 3, 2026
16f815d
IGNITE-29210 Merge prepared key material hook documentation
anton-vinogradov Nov 3, 2026
5c5aebe
IGNITE-29211 Merge prepared key material hook documentation
anton-vinogradov Nov 3, 2026
f77be52
IGNITE-29210 Simplify SSL test material and factory hooks
anton-vinogradov Nov 3, 2026
ea50365
IGNITE-29211 Test renewal through factories and snapshot status time
anton-vinogradov Nov 3, 2026
c5c8e48
IGNITE-29210 Document direct SSL bundle loading hooks
anton-vinogradov Nov 3, 2026
3661fc3
IGNITE-29211 Adapt node test hooks to checked SSL loading
anton-vinogradov Nov 3, 2026
06489a8
IGNITE-29209 Build SSL bundles directly from loaded stores
anton-vinogradov Nov 3, 2026
4a7ce7c
Merge IGNITE-29209 direct bundle loading into IGNITE-29210
anton-vinogradov Nov 3, 2026
f5a9a6f
Merge IGNITE-29210 direct bundle loading into IGNITE-29211
anton-vinogradov Nov 3, 2026
d9fc2fc
IGNITE-29210 Use a clear certificate alias name in CLI test
anton-vinogradov Nov 3, 2026
0e76a9d
Merge commit 'd9fc2fcea5309921293c1885fdf5b12aeb02ed0e' into ignite-2…
anton-vinogradov Nov 3, 2026
756e613
IGNITE-29210 Add certificate generation dependency to CLI tests
anton-vinogradov Nov 3, 2026
a4bd1b1
Merge commit '756e613f719eb8a8d8cae44602c2b39f7848a4a6' into ignite-2…
anton-vinogradov Nov 3, 2026
f004af6
IGNITE-29209 Keep source parameter validation in the store factory
anton-vinogradov Nov 3, 2026
a566a35
Merge ignite-29209 parameter hook cleanup into ignite-29210
anton-vinogradov Nov 3, 2026
7963fe0
Merge ignite-29210 parameter hook cleanup into ignite-29211
anton-vinogradov Nov 3, 2026
07f3f4b
IGNITE-29210 Clarify custom factory validation migration
anton-vinogradov Nov 3, 2026
820e07c
Merge ignite-29210 custom factory migration documentation
anton-vinogradov Nov 3, 2026
d58cd6a
IGNITE-29210 Reject SSL contexts that cannot supply TCP sockets
anton-vinogradov Nov 4, 2026
8e36bc9
IGNITE-29211 Validate the renewal window and discard attempts during …
anton-vinogradov Nov 4, 2026
215240a
Merge branch 'ignite-29210' into ignite-29211
anton-vinogradov Nov 4, 2026
c20c22e
IGNITE-29209 Limit explicit TLS initialization to factory subclasses
anton-vinogradov Nov 4, 2026
dfe2f48
IGNITE-29210 Keep factory snapshot and reload access inside the node
anton-vinogradov Nov 4, 2026
b8980a0
IGNITE-29211 Use internal factory snapshots when planning TLS renewal
anton-vinogradov Nov 4, 2026
3f915d6
IGNITE-29210 Keep reload diagnostics inside the node and report provi…
anton-vinogradov Nov 4, 2026
6bca809
IGNITE-29209 Preserve keyless client factories and document snapshot use
anton-vinogradov Nov 4, 2026
a9e61a8
IGNITE-29210 Remove the obsolete connector import
anton-vinogradov Nov 4, 2026
7c5984e
Merge IGNITE-29209 compatibility and migration changes into manual re…
anton-vinogradov Nov 4, 2026
048e40e
IGNITE-29210 Keep reconnect test independent of certificate generation
anton-vinogradov Nov 4, 2026
f4e1d28
IGNITE-29211 Keep renewal inside the node and verify its lifecycle
anton-vinogradov Nov 4, 2026
ff4573a
Merge reviewed manual TLS reload into IGNITE-29211
anton-vinogradov Nov 4, 2026
500089e
IGNITE-29209 Clarify custom TLS configuration and context reads
anton-vinogradov Nov 4, 2026
11c0b8c
IGNITE-29210 Merge factory documentation and explain reload checks on…
anton-vinogradov Nov 4, 2026
eee3041
IGNITE-29211 Count certificate source failures while renewal is running
anton-vinogradov Nov 4, 2026
79dfcce
Merge commit '11c0b8cda272bb1a498bceb00b66e8b0c7281607' into ignite-2…
anton-vinogradov Nov 4, 2026
96ff5ef
Merge branch 'ignite-29209' into ignite-29210
anton-vinogradov Nov 4, 2026
0983f4c
IGNITE-29209 Verify that concurrent SSL reloads publish in order
anton-vinogradov Nov 4, 2026
e57a63a
IGNITE-29210 Cover preinitialized factories at transport registration
anton-vinogradov Nov 4, 2026
3560648
Merge branch 'ignite-29209' into ignite-29210
anton-vinogradov Nov 4, 2026
6822aa5
IGNITE-29209 Shorten SSL factory hook Javadoc
anton-vinogradov Nov 4, 2026
1eff18f
Merge commit '3560648c' into ignite-29211
anton-vinogradov Nov 4, 2026
6a6cb7d
IGNITE-29210 Distinguish initial load retries from TLS replacement
anton-vinogradov Nov 4, 2026
5888cb2
IGNITE-29211 Clarify renewal settings and make the node test wait for…
anton-vinogradov Nov 4, 2026
63019fa
Merge commit '6a6cb7d0' into ignite-29211
anton-vinogradov Nov 4, 2026
dcb1e82
IGNITE-29211 Keep renewal tests focused on configured settings
anton-vinogradov Nov 4, 2026
bafc004
IGNITE-29211 Remove unused test mock import
anton-vinogradov Nov 4, 2026
32bee26
IGNITE-29211 Check renewal with an interrupted source thread
anton-vinogradov Nov 4, 2026
de80327
Merge remote-tracking branch 'refs/remotes/apache-r8/master' into ign…
anton-vinogradov Nov 4, 2026
38394c2
Merge branch 'ignite-29209' into ignite-29210
anton-vinogradov Nov 4, 2026
7b1c2fb
IGNITE-29209 Clarify custom SSL factory material and protocol require…
anton-vinogradov Nov 4, 2026
f45312f
IGNITE-29210 Clarify reload requirements and bound failure timestamps
anton-vinogradov Nov 4, 2026
3fc01c6
Merge commit 'f45312f5f481b22653f5fc93bc70e6488fb7f972' into ignite-2…
anton-vinogradov Nov 4, 2026
6b6cb10
Merge branch 'ignite-29209' into ignite-29210
anton-vinogradov Nov 4, 2026
e29bfc9
IGNITE-29209 Mark the key password array nullable
anton-vinogradov Nov 4, 2026
a3a3d48
Merge commit '6b6cb108a00a0048f0a09c9ce77eb85617e33e8a' into ignite-2…
anton-vinogradov Nov 4, 2026
a8d6d1f
IGNITE-29209 Limit explicit factory initialization to the SSL context
anton-vinogradov Nov 5, 2026
aacfde5
Merge remote-tracking branch 'refs/remotes/apache-init-minimal/master…
anton-vinogradov Nov 5, 2026
c4a9441
IGNITE-29209 Remove unused SSLContext import
anton-vinogradov Nov 5, 2026
4410ba4
IGNITE-29209 Check the initialization exception directly
anton-vinogradov Nov 5, 2026
fbff93f
IGNITE-29209 Retain the protected SSL context cache
anton-vinogradov Nov 5, 2026
7d9331f
IGNITE-29209 Keep the first fix scoped to explicit SSL context reload
anton-vinogradov Nov 5, 2026
b86cc22
IGNITE-29209 Narrow the explicit SSL initialization contract
anton-vinogradov Nov 5, 2026
ef19a92
IGNITE-29209 Test SSL cache overrides separately
anton-vinogradov Nov 5, 2026
460d6b3
IGNITE-29209 Pause SSL init at key store open in test
anton-vinogradov Nov 5, 2026
99917c9
IGNITE-29209 Test the outcomes of explicit SSL initialization
anton-vinogradov Nov 5, 2026
0d8a872
IGNITE-29209 Drop the direct SSL cache mutation test
anton-vinogradov Nov 5, 2026
0a4d83a
Merge remote-tracking branch 'refs/remotes/apache/master' into ignite…
anton-vinogradov Nov 6, 2026
c108148
IGNITE-29256 Use the current SSL context for new TCP connections
anton-vinogradov Nov 6, 2026
7ae2081
IGNITE-29256 Keep Javadoc focused on transport changes
anton-vinogradov Nov 6, 2026
34da982
IGNITE-29256 Simplify added Javadoc
anton-vinogradov Nov 6, 2026
bca5874
IGNITE-29256 Remove unnecessary line breaks
anton-vinogradov Nov 6, 2026
1bc5dad
IGNITE-29256 Simplify discovery SSL socket handling
anton-vinogradov Nov 6, 2026
d654ae8
IGNITE-29256 Verify ordinary discovery factories retain their context
anton-vinogradov Nov 6, 2026
3d9112b
IGNITE-29256 Simplify SSL factory wiring
anton-vinogradov Nov 6, 2026
d697adb
IGNITE-29256 Prepare REST protocol filters before port retries
anton-vinogradov Nov 6, 2026
ea0071a
IGNITE-29256 Use the current context from every SSL factory
anton-vinogradov Nov 6, 2026
7674cb5
IGNITE-29256 Preserve SSL filter call formatting
anton-vinogradov Nov 6, 2026
9b89ee0
IGNITE-29256 Reuse discovery SSL enablement flag
anton-vinogradov Nov 6, 2026
77d95c5
IGNITE-29256 Use the SSL context factory directly in discovery
anton-vinogradov Nov 6, 2026
3b7d641
IGNITE-29256 Remove redundant discovery comments
anton-vinogradov Nov 6, 2026
c71769a
IGNITE-29256 Validate discovery SSL with an unconnected socket
anton-vinogradov Nov 6, 2026
cc1a169
IGNITE-29256 Keep startup SSL validation focused on socket creation
anton-vinogradov Nov 6, 2026
490abbe
IGNITE-29256 Explain startup SSL socket validation
anton-vinogradov Nov 6, 2026
722fe71
IGNITE-29256 Use a single SSL filter constructor
anton-vinogradov Nov 6, 2026
50ae47e
IGNITE-29256 Pass SSL factories directly and refresh thin-client conn…
anton-vinogradov Nov 6, 2026
dc3852e
IGNITE-29256 Pass the thin client SSL factory directly to NIO
anton-vinogradov Nov 6, 2026
9d04c90
IGNITE-29256 Preserve discovery retries and count early SSL rejections
anton-vinogradov Nov 6, 2026
46a0f4f
IGNITE-29256 Make TLS test scenarios explicit
anton-vinogradov Nov 6, 2026
f6cefca
IGNITE-29256 Use current timeout API in SSL tests
anton-vinogradov Nov 7, 2026
9755920
IGNITE-29256 Drop unnecessary SSL test settings
anton-vinogradov Nov 7, 2026
ea65b2d
IGNITE-29256 Separate NIO recovery and rejection tests
anton-vinogradov Nov 7, 2026
0cc3ef1
IGNITE-29256 Clarify SSL factory recovery test name
anton-vinogradov Nov 7, 2026
d8e6fcb
IGNITE-29256 Test SSL factory failure during filter creation
anton-vinogradov Nov 7, 2026
d78f07c
IGNITE-29256 Make discovery test connection actions explicit
anton-vinogradov Nov 7, 2026
36cffbd
IGNITE-29256 Keep one SSL factory in discovery recovery test
anton-vinogradov Nov 7, 2026
6258a8d
IGNITE-29256 Simplify SSL test setup and recovery scope
anton-vinogradov Nov 7, 2026
1eff48f
IGNITE-29256 Exercise factory init in discovery protocol tests
anton-vinogradov Nov 7, 2026
fbbf2bb
IGNITE-29256 Name shared TLS test data
anton-vinogradov Nov 7, 2026
7cb02e2
IGNITE-29256 Make TLS test inputs and expectations explicit
anton-vinogradov Nov 7, 2026
d3135f8
IGNITE-29256 Separate TLS reload test scenarios
anton-vinogradov Nov 7, 2026
22430ea
IGNITE-29256 Focus TLS tests on transport guarantees
anton-vinogradov Nov 7, 2026
1c357c3
IGNITE-29256 Test REST recovery after occupied port
anton-vinogradov Nov 7, 2026
983c238
IGNITE-29256 Handle discovery TLS errors at connection boundary
anton-vinogradov Nov 7, 2026
b0562e9
IGNITE-29256 Explain eager SSL context initialization
anton-vinogradov Nov 9, 2026
a00342f
IGNITE-29256 Preserve thin client SSL startup failures
anton-vinogradov Nov 9, 2026
a5e18ba
IGNITE-29210 Add manual TLS reload command
anton-vinogradov Nov 9, 2026
27077f6
IGNITE-29210 Cover missing targets and clarify reload guidance
anton-vinogradov Nov 9, 2026
542e17d
IGNITE-29210 Clarify completed reload results
anton-vinogradov Nov 9, 2026
4a9b887
IGNITE-29210 Remove redundant test import
anton-vinogradov Nov 9, 2026
8ab8e74
Merge commit '5d4ff8f299ed5266675bf4f4b0cc64c3d7aa74ef' into ignite-2…
anton-vinogradov Nov 9, 2026
374c3ed
IGNITE-29210 Register TLS factories in TCP SPIs
anton-vinogradov Nov 9, 2026
cd315d0
IGNITE-29210 Use a plain SSL factory registry
anton-vinogradov Nov 9, 2026
2bf7dc1
IGNITE-29210 Add SSL reload result wire description
anton-vinogradov Nov 9, 2026
2beeb77
IGNITE-29210 Improve reload diagnostics and tests
anton-vinogradov Nov 9, 2026
9f2c2d9
IGNITE-29210 Simplify reload command tests
anton-vinogradov Nov 9, 2026
3588e69
IGNITE-29210 Clarify HTTP REST reload scope
anton-vinogradov Nov 9, 2026
fa21b1b
IGNITE-29210 Clarify reload documentation
anton-vinogradov Nov 9, 2026
2faa3bb
IGNITE-29210 Keep factory Javadoc focused on behavior
anton-vinogradov Nov 9, 2026
11dcd39
IGNITE-29210 Drop unrelated trust manager Javadoc change
anton-vinogradov Nov 9, 2026
0cb438a
IGNITE-29210 Remove redundant comments
anton-vinogradov Nov 9, 2026
bcc52e5
IGNITE-29210 Test TLS reload when a node leaves before replying
anton-vinogradov Nov 9, 2026
f979dde
IGNITE-29210 Simplify node departure test and reload documentation
anton-vinogradov Nov 10, 2026
405b249
IGNITE-29210 Separate unsupported factory and reload failure tests
anton-vinogradov Nov 10, 2026
86035ce
IGNITE-29210 Coordinate initial SSL loading with reload
anton-vinogradov Nov 10, 2026
eeb4aa5
IGNITE-29210 Stop node TLS reload on first failure
anton-vinogradov Nov 11, 2026
1c59af4
IGNITE-29210 Test cached context access during reload
anton-vinogradov Nov 11, 2026
f151b87
IGNITE-29211 Restart renewal implementation on accepted manual reload
anton-vinogradov Nov 11, 2026
8f81912
Merge current Apache master for IGNITE-29211
anton-vinogradov Nov 11, 2026
0f2a8df
Merge Apache master with accepted IGNITE-29210
anton-vinogradov Nov 11, 2026
21b7baa
IGNITE-29211 Renew TLS certificates before expiry
anton-vinogradov Nov 11, 2026
285bdd3
IGNITE-29211 Isolate renewal from the reload caller context
anton-vinogradov Nov 11, 2026
5757400
IGNITE-29211 Coordinate TLS renewal in the registry
anton-vinogradov Nov 11, 2026
529f552
IGNITE-29211 Cover renewal recovery and shutdown
anton-vinogradov Nov 11, 2026
be30769
IGNITE-29211 Keep renewal cancellation inside factory
anton-vinogradov Nov 11, 2026
73e75d8
IGNITE-29211 Serialize renewal operations on the scheduler
anton-vinogradov Nov 12, 2026
33ea1c8
IGNITE-29211 Publish renewal dates after a successful load
anton-vinogradov Nov 12, 2026
5c0f0a8
IGNITE-29211 Cancel a waiting renewal through thread interruption
anton-vinogradov Nov 12, 2026
e5f996c
IGNITE-29211 Fix renewal startup ordering and expiry checks
anton-vinogradov Nov 12, 2026
997e016
IGNITE-29211 Explain certificate renewal as an operating procedure
anton-vinogradov Nov 12, 2026
bf5ed26
IGNITE-29211 Clarify renewal skips and failure contracts
anton-vinogradov Nov 12, 2026
65e136f
IGNITE-29211 Explain manual reload outcomes and recovery options
anton-vinogradov Nov 12, 2026
d24c9ac
IGNITE-29211 Wait one hour after reloading certificates already due f…
anton-vinogradov Nov 12, 2026
16441e8
IGNITE-29211 Validate replacements and report unchanged TLS material
anton-vinogradov Nov 12, 2026
5d4ac0c
IGNITE-29211 Fail renewal attempts that leave certificates due
anton-vinogradov Nov 12, 2026
51a1e00
IGNITE-29211 Preserve renewal retry ordering during startup
anton-vinogradov Nov 12, 2026
1288607
IGNITE-29211 Fix IDEA warnings in TLS renewal
anton-vinogradov Nov 12, 2026
03b2a53
IGNITE-29211 Rely on executor publication for registry fields
anton-vinogradov Nov 12, 2026
f61dce5
IGNITE-29211 Keep renewal dependencies in each renewal
anton-vinogradov Nov 12, 2026
779e7f8
IGNITE-29211 Keep one failure counter per renewal
anton-vinogradov Nov 12, 2026
0256992
IGNITE-29211 End the failure streak where renewal is scheduled
anton-vinogradov Nov 12, 2026
d6d724b
IGNITE-29211 Load manual reloads on the caller thread
anton-vinogradov Nov 12, 2026
cedc548
IGNITE-29211 Separate replacement checks from renewal time
anton-vinogradov Nov 12, 2026
a6cf69f
IGNITE-29211 Return the stored renewal time
anton-vinogradov Nov 12, 2026
bbe71df
IGNITE-29211 Check certificate dates on every load
anton-vinogradov Nov 12, 2026
705dbe4
IGNITE-29211 Renew without a separate factory lock
anton-vinogradov Nov 12, 2026
c68b577
IGNITE-29211 Stop renewal by the registry executor
anton-vinogradov Nov 12, 2026
f07d9e9
IGNITE-29211 Keep reload and renewal scheduling in one queue
anton-vinogradov Nov 12, 2026
2d176c9
IGNITE-29211 Make SSL key store loading explicit
anton-vinogradov Nov 12, 2026
c95b5c2
Revert "IGNITE-29211 Make SSL key store loading explicit"
anton-vinogradov Nov 12, 2026
f2d0501
IGNITE-29211 Build the SSL context from a local key store
anton-vinogradov Nov 12, 2026
0d957f7
Revert "IGNITE-29211 Build the SSL context from a local key store"
anton-vinogradov Nov 12, 2026
e791554
IGNITE-29211 Check each renewal rule in one test
anton-vinogradov Nov 13, 2026
3edbc43
IGNITE-29211 Pass the loaded key store explicitly
anton-vinogradov Nov 13, 2026
55a8e04
IGNITE-29211 Keep the key store chains in the key managers
anton-vinogradov Nov 13, 2026
469e0e9
IGNITE-29211 Pass the key store chains next to the key managers
anton-vinogradov Nov 13, 2026
59bdf80
IGNITE-29211 Make the key chains holder a record
anton-vinogradov Nov 13, 2026
d1e5979
IGNITE-29211 Load the key store explicitly in SslContextFactory
anton-vinogradov Nov 13, 2026
f922ebc
IGNITE-29211 Read the key chains from the key store of createKeyManag…
anton-vinogradov Nov 13, 2026
617a617
IGNITE-29211 Drop test settings that the checks do not need
anton-vinogradov Nov 13, 2026
a46a167
IGNITE-29211 Name renewal tests after what they check
anton-vinogradov Nov 13, 2026
03ca0fa
IGNITE-29211 State renewal test conditions in each test
anton-vinogradov Nov 13, 2026
d0bbeb8
IGNITE-29211 Check renewal of due certificates on a node
anton-vinogradov Nov 13, 2026
cd5bd0e
IGNITE-29211 Rename certificate renewal to hot reload
anton-vinogradov Nov 13, 2026
f36c843
IGNITE-29211 Keep the loaded key store local to context creation
anton-vinogradov Nov 13, 2026
0945312
IGNITE-29211 Restore the hot reload date when context loading fails
anton-vinogradov Nov 13, 2026
2ae403c
IGNITE-29211 Keep the hot reload date readable during loading
anton-vinogradov Nov 13, 2026
51195d9
IGNITE-29211 Leave certificate validity decisions to TLS peers
anton-vinogradov Nov 13, 2026
1cebe8e
IGNITE-29211 Wait for the hot reload failure log in the node test
anton-vinogradov Nov 13, 2026
fbba10d
IGNITE-29211 Test the registry with factories over key store files
anton-vinogradov Nov 13, 2026
7a9fbad
IGNITE-29211 Cover the remaining hot reload rules in tests
anton-vinogradov Nov 13, 2026
8d523d9
IGNITE-29211 Check reload command with hot reload and warn about notB…
anton-vinogradov Nov 13, 2026
396fd3b
IGNITE-29211 Preserve hot reload at epoch and clarify recovery
anton-vinogradov Nov 13, 2026
f02ca02
IGNITE-29211 Calculate hot reload time directly from key store
anton-vinogradov Nov 13, 2026
a596c05
IGNITE-29211 Test registry start and early reload with real factories
anton-vinogradov Nov 13, 2026
a0adc8c
IGNITE-29211 Schedule automatic reload with an explicit empty context
anton-vinogradov Nov 13, 2026
9406caa
IGNITE-29211 Separate hot reload test scenarios
anton-vinogradov Nov 13, 2026
71797be
IGNITE-29211 Give each hot reload rule its own test
anton-vinogradov Nov 15, 2026
c834405
IGNITE-29211 Describe what each hot reload test checks
anton-vinogradov Nov 15, 2026
155fe04
IGNITE-29211 Start each test description with its guarantee
anton-vinogradov Nov 15, 2026
3e0578f
IGNITE-29211 Describe hot reload tests as Given, When, Then
anton-vinogradov Nov 15, 2026
7224f6b
IGNITE-29211 Cover reload failures and stabilize timing tests
anton-vinogradov Nov 15, 2026
8c1efb1
IGNITE-29211 Exercise supported hot reload flows and remove redundant…
anton-vinogradov Nov 15, 2026
fb4fdac
IGNITE-29211 Remove synthetic hot reload startup test
anton-vinogradov Nov 15, 2026
a5cfeb9
IGNITE-29211 Drop unreachable stop check from hot reload start
anton-vinogradov Nov 15, 2026
6104e3e
IGNITE-29211 Start hot reload a fixed time before expiry and retry ho…
anton-vinogradov Nov 16, 2026
8ea5180
IGNITE-29211 Name the first-load test by its guarantee
anton-vinogradov Nov 16, 2026
97e3f8f
IGNITE-29211 Name the hot reload lead time setting with its unit
anton-vinogradov Nov 16, 2026
d76513f
IGNITE-29211 Warn instead of failing when no key gives a hot reload date
anton-vinogradov Nov 16, 2026
15ff080
IGNITE-29211 Drop the special case for a zero hot reload date
anton-vinogradov Nov 16, 2026
28b930d
IGNITE-29211 Do not wait for the hot reload thread on node stop
anton-vinogradov Nov 16, 2026
33df749
IGNITE-29211 Group transports by factory before starting hot reload
anton-vinogradov Nov 16, 2026
36a5713
IGNITE-29211 Check hot reload every hour instead of scheduling each a…
anton-vinogradov Nov 16, 2026
4d54ac5
IGNITE-29211 Run manual reloads in the caller thread
anton-vinogradov Nov 16, 2026
816df2c
IGNITE-29211 Remove test helpers left from scheduled attempts
anton-vinogradov Nov 16, 2026
9cb2826
IGNITE-29211 Group transports by factory once, in the registry
anton-vinogradov Nov 16, 2026
55f2502
IGNITE-29211 Map each registered factory to its transports
anton-vinogradov Nov 16, 2026
68ef92e
IGNITE-29211 Name registered transports and grouped factories by what…
anton-vinogradov Nov 16, 2026
3465458
IGNITE-29211 Stop checks on node stop, reset failures when no longer …
anton-vinogradov Nov 16, 2026
fe6e10c
IGNITE-29211 Fix hot reload dates for Windows stores and saved factories
anton-vinogradov Nov 16, 2026
a30430c
IGNITE-29211 Reload each TLS factory instance and clarify retry timing
anton-vinogradov Nov 16, 2026
9950ca3
IGNITE-29211 Use standard entries for registered TLS factories
anton-vinogradov Nov 16, 2026
d34e62a
IGNITE-29211 Log the hot reload date used for the decision and verify…
anton-vinogradov Nov 16, 2026
60b69fc
IGNITE-29211 Remove custom SslContextFactory deserialization
anton-vinogradov Nov 16, 2026
3621858
IGNITE-29211 Trim the change to what hot reload needs
anton-vinogradov Nov 16, 2026
8e63f3a
IGNITE-29211 Keep hot reload wrappers in a list and find them by refe…
anton-vinogradov Nov 16, 2026
ea46663
IGNITE-29211 Keep every registered factory in one list of wrappers
anton-vinogradov Nov 16, 2026
0d4d317
IGNITE-29211 Say that manual reload works on registered factories
anton-vinogradov Nov 16, 2026
d87d131
IGNITE-29211 Derive hot reload from the factory instead of a wrapper …
anton-vinogradov Nov 16, 2026
541872e
IGNITE-29211 Rename SslFactoryWrapper to RegisteredFactory
anton-vinogradov Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/_docs/monitoring-metrics/new-metrics.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,20 @@ Register name: `communication.tcp.{node_consistent_id}`
|sentMessagesToNode | long | Total number of messages sent by current node to the given node.
|===

== Certificate Hot Reload

Register name: `ssl`

[cols="2,1,3",opts="header"]
|===
|Name | Type | Description
|ConsecutiveHotReloadFailures | long | Sum of consecutive automatic hot reload failures across the node's SSL factories. Zero when hot reload is disabled.
|ManualReloadAttempts | long | Factory reload attempts started by the node for manual commands, including errors. Excludes startup loads.
|AutomaticHotReloadAttempts | long | Automatic factory hot reload attempts, including errors.
|===

See link:security/ssl-tls#automatic-certificate-hot-reload[Automatic Certificate Hot Reload] for configuration and recovery.

== Communication Connection Pool

Register name: `communication.tcp.connectionPool`
Expand Down
93 changes: 93 additions & 0 deletions docs/_docs/security/ssl-tls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,91 @@ If any factory on a node has another type, the command reports it as unsupported
For these factories, follow the same trust-first sequence and restart affected nodes one at a time instead of running reload.
If you configured `trustManagers` directly, the command reuses them instead of reloading a trust store.

== Automatic Certificate Hot Reload

Automatic hot reload lets nodes load replacement certificates without a reload command.
You must supply the replacements: Ignite reads them from the configured source and does not issue certificates.
Hot reload covers the same TCP transports as <<Upgrading Certificates,manual reload>>.
It does not update the HTTP REST endpoint or external client applications.

=== Enable Hot Reload

Enable hot reload on each configured `SslContextFactory` before starting the node:

[source,java]
----
factory.setHotReloadEnabled(true);
----

Changing this setting requires a node restart.
The key store must contain a private key with an X.509 certificate chain.
A chain contains the key's certificate and the certificates of its issuers.
Ignite ignores keys without such a chain, as TLS does.
If the key store has no such key, the node logs a warning and skips hot reload.
After a manual reload of a key store with such a key, hot reload works again.

Before replacing key stores, prepare peers' trust stores as described in <<Upgrading Certificates>>.
Once every affected peer trusts the replacement certificates, put the replacement key stores in the configured source.
Put only certificates whose validity period has already started.
Ignite installs the replacements without checking their dates, and peers may reject certificates that are not yet valid.
Keep the configured paths, store types and passwords unchanged.
Ignite loads the replacements automatically when hot reload is due; no reload command is needed for this step.

=== When Hot Reload Runs

At startup, Ignite checks each factory with hot reload enabled.
After it finishes checking all factories, it waits one hour before checking them again.
A slow certificate source can therefore delay a factory's next check by more than an hour.

For each factory, hot reload becomes due `hotReloadBeforeExpiryMs` before the earliest certificate expiry in its private key chains.
This includes issuing certificates. The default lead time is 7 days.
The first check at or after that date attempts a reload, including the startup check.
Allow enough time before expiry to supply the replacements, wait through the one-hour interval and load the stores.
Keep the lead time shorter than the lifetime of the replacement certificates, or they will already be due when loaded.
See link:{javadoc_base_url}/org/apache/ignite/ssl/SslContextFactory.html#getHotReloadTime()[getHotReloadTime(), window=_blank] for the calculation.

If the loaded certificates are still due for hot reload, Ignite records a failed hot reload attempt even though it installed them.
This can happen when the certificates have not changed, only the trust store changed, or the replacements expire within `hotReloadBeforeExpiryMs`.
The loaded context remains in use until a later reload replaces it.

After a manual reload, the next hourly check uses the loaded certificates.

New connections use the loaded certificates; established connections remain open.
To confirm a replacement, open a new TLS connection to each affected endpoint and compare its peer certificate with the replacement.

=== Check Failures and Recover

If loading the stores or creating the TLS context fails, Ignite keeps the current certificates and retries on the next check, even after they expire.
Keeping expired certificates does not extend their validity, so new connections may fail until a valid replacement is available.
If the replacements appear after hot reload is due, the next retry loads them.

The node log shows the affected transports.
At `INFO` level it shows when the loaded certificates are due for hot reload, when an attempt starts and when it succeeds.
At `WARN` level it shows why an attempt failed and the earliest time the node can retry automatically.
The `ssl.ConsecutiveHotReloadFailures` metric sums consecutive failed automatic attempts across the node's factories.
Each factory's count resets after a successful manual reload or when a check finds that the loaded certificates are no longer due for hot reload.

To recover without waiting for the next retry:

. Correct the replacement stores and run link:tools/control-script#reloading-tls-certificates[`control.sh --ssl reload`].
. Check the command result and verify a new connection with the replacement certificates.

*What happens to automatic hot reload.*
If enabled, automatic hot reload continues after manual reload, as described in <<When Hot Reload Runs>>.
A failed automatic attempt does not undo the manual reload.

*If the command cannot connect.*
First check the command's certificates and trust settings.
If the problem is on the node, put a valid replacement in its source.
If the node log shows automatic retries, wait for the next attempt.
Otherwise, or to load the corrected stores without waiting, restart the affected nodes.

=== Custom Certificate Sources

For automatic hot reload, custom sources require a subclass of javadoc:org.apache.ignite.ssl.SslContextFactory[].
Factories extending only `AbstractSslContextFactory` support manual reload only.
Limit request duration in custom sources: a blocked load delays other hot reloads and manual reload.

== SslContextFactory Properties

`SslContextFactory` supports the following properties:
Expand Down Expand Up @@ -216,6 +301,14 @@ If you configured `trustManagers` directly, the command reuses them instead of r
|The protocol for secure transport. https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#sslcontext-algorithms[Supported algorithms,window=_blank].
|`TLS`

|`hotReloadEnabled`
|Enables automatic certificate hot reload. See <<Automatic Certificate Hot Reload>>.
|`false`

|`hotReloadBeforeExpiryMs`
|How long before the certificates expire hot reload becomes due, in milliseconds. See <<When Hot Reload Runs>>.
|`604800000` (7 days)

|`trustStoreFilePath`
|The path to the trust store file.
|`N/A`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void setProtocols(String... protocols) {
* @return Initialized SSL context.
* @throws SSLException If SSL context could not be created.
*/
private SSLContext createSslContext() throws SSLException {
SSLContext createSslContext() throws SSLException {
checkParameters();

KeyManager[] keyMgrs = createKeyManagers();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@
import java.security.GeneralSecurityException;
import java.security.KeyStore;
import java.security.NoSuchAlgorithmException;
import java.security.cert.Certificate;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.concurrent.TimeUnit;
import javax.net.ssl.KeyManager;
import javax.net.ssl.KeyManagerFactory;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLException;
import javax.net.ssl.TrustManager;
import javax.net.ssl.TrustManagerFactory;
Expand Down Expand Up @@ -61,6 +65,9 @@ public class SslContextFactory extends AbstractSslContextFactory {
/** Default key manager / trust manager algorithm. Specifying different trust manager algorithm is not supported. */
public static final String DFLT_KEY_ALGORITHM = System.getProperty("ssl.KeyManagerFactory.algorithm", "SunX509");

/** Default lead time for certificate hot reload: 7 days. */
public static final long DFLT_HOT_RELOAD_BEFORE_EXPIRY_MS = TimeUnit.DAYS.toMillis(7);

/** Key manager algorithm. */
protected String keyAlgorithm = DFLT_KEY_ALGORITHM;

Expand All @@ -85,6 +92,71 @@ public class SslContextFactory extends AbstractSslContextFactory {
/** Trust managers. */
protected TrustManager[] trustMgrs;

/** */
private boolean hotReloadEnabled;

/** */
private long hotReloadBeforeExpiryMs = DFLT_HOT_RELOAD_BEFORE_EXPIRY_MS;

/** */
private transient volatile long hotReloadTime;

/** */
private transient long pendingHotReloadTime;

/**
* @return Whether automatic certificate hot reload is enabled. Defaults to {@code false}.
*/
public boolean isHotReloadEnabled() {
return hotReloadEnabled;
}

/**
* @param enabled Whether automatic certificate hot reload is enabled. Changes require a node restart.
*/
public void setHotReloadEnabled(boolean enabled) {
hotReloadEnabled = enabled;
}

/**
* @return How long before the certificates expire hot reload becomes due, in milliseconds.
* Defaults to {@link #DFLT_HOT_RELOAD_BEFORE_EXPIRY_MS}.
*/
public long getHotReloadBeforeExpiryMs() {
return hotReloadBeforeExpiryMs;
}

/**
* @param millis How long before the certificates expire hot reload becomes due, in milliseconds. Must be positive.
*/
public void setHotReloadBeforeExpiryMs(long millis) {
A.ensure(millis > 0, "millis > 0");

hotReloadBeforeExpiryMs = millis;
}

/**
* The hot reload time is calculated from the loaded certificates.
* It comes {@link #getHotReloadBeforeExpiryMs()} before the earliest expiry among the chains of the private keys.
* A chain expires when any certificate in it expires.
* Keys without an X.509 certificate chain are ignored, as TLS cannot use them.
*
* @return Hot reload time in milliseconds since the epoch, or {@code 0} if the certificates have not been loaded yet
* or have no private key with an X.509 chain.
*/
public long getHotReloadTime() {
return hotReloadTime;
}

/** {@inheritDoc} */
@Override SSLContext createSslContext() throws SSLException {
SSLContext ctx = super.createSslContext();
Comment thread
anton-vinogradov marked this conversation as resolved.
Resolved

hotReloadTime = pendingHotReloadTime;

return ctx;
}

/**
* Gets key store type used for context creation.
*
Expand Down Expand Up @@ -266,6 +338,8 @@ public static TrustManager getDisabledTrustManager() {

keyMgrFactory.init(keyStore, keyStorePwd);

pendingHotReloadTime = hotReloadTime(keyStore);

return keyMgrFactory.getKeyManagers();
}
catch (NoSuchAlgorithmException e) {
Expand All @@ -277,6 +351,32 @@ public static TrustManager getDisabledTrustManager() {
}
}

/**
* @param store Loaded key store.
* @return Hot reload time of the chain that expires first, or {@code 0} if the store has no private key
* with an X.509 certificate chain.
* @throws GeneralSecurityException If the key store cannot be read.
*/
private long hotReloadTime(KeyStore store) throws GeneralSecurityException {
long earliestExpiry = Long.MAX_VALUE;

for (Enumeration<String> aliases = store.aliases(); aliases.hasMoreElements(); ) {
String alias = aliases.nextElement();

if (!store.isKeyEntry(alias))
continue;

Certificate[] chain = store.getCertificateChain(alias);

if (chain != null && Arrays.stream(chain).allMatch(X509Certificate.class::isInstance)) {
for (Certificate cert : chain)
earliestExpiry = Math.min(earliestExpiry, ((X509Certificate)cert).getNotAfter().getTime());
}
}

return earliestExpiry == Long.MAX_VALUE ? 0 : earliestExpiry - hotReloadBeforeExpiryMs;
}

/** {@inheritDoc} */
@Override protected final TrustManager[] createTrustManagers() throws SSLException {
if (trustMgrs != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import org.apache.ignite.internal.IgniteInternalFuture;
import org.apache.ignite.internal.TestRecordingCommunicationSpi;
import org.apache.ignite.internal.processors.rest.client.message.GridClientPingPacket;
import org.apache.ignite.spi.metric.LongMetric;
import org.apache.ignite.ssl.SslContextFactory;
import org.apache.ignite.testframework.ListeningTestLogger;
import org.apache.ignite.testframework.LogListener;
Expand Down Expand Up @@ -97,6 +98,7 @@ public void testSharedFactoryReloadedOnceOnServerAndClient() throws Exception {
: "communication, client connector, binary REST, discovery";

assertContains(log, testOut.toString(), nodes.get(i).localNode().id() + ": " + transports + ": reloaded");
assertEquals(1, nodes.get(i).context().metric().registry("ssl").<LongMetric>findMetric("ManualReloadAttempts").value());
}
}

Expand Down
7 changes: 7 additions & 0 deletions modules/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,13 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
<version>1.86</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.eclipse.jetty.ee11</groupId>
<artifactId>jetty-ee11-servlets</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,8 @@ public void start(
}
}

ctx.ssl().start(ctx);

// Start plugins.
for (PluginProvider<?> provider : ctx.plugins().allProviders())
provider.onIgniteStart();
Expand Down Expand Up @@ -1722,6 +1724,8 @@ private void stop0(boolean cancel) {
GridKernalGateway gw = this.gw.get();

if (stopGuard.compareAndSet(false, true)) {
ctx.ssl().stop();

// Only one thread is allowed to perform stop sequence.
boolean firstStop = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import java.util.UUID;
import javax.cache.configuration.Factory;
import javax.net.ssl.SSLContext;
Expand Down Expand Up @@ -120,7 +118,7 @@ private SslReloadJob(NoArg arg, boolean debug) {

/** {@inheritDoc} */
@Override protected String run(NoArg arg) {
Map<String, Factory<SSLContext>> factories = ignite.context().ssl().factories();
List<Entry<Factory<SSLContext>, String>> factories = ignite.context().ssl().factories();
UUID nodeId = ignite.localNode().id();
String initiator = "";

Expand All @@ -138,30 +136,23 @@ private SslReloadJob(NoArg arg, boolean debug) {
return report;
}

for (Map.Entry<String, Factory<SSLContext>> entry : factories.entrySet()) {
if (!(entry.getValue() instanceof AbstractSslContextFactory)) {
String report = entry.getKey() + ": unsupported: " + entry.getValue().getClass().getName();
for (Entry<Factory<SSLContext>, String> entry : factories) {
if (!(entry.getKey() instanceof AbstractSslContextFactory)) {
String report = entry.getValue() + ": unsupported: " + entry.getKey().getClass().getName();

ignite.log().warning("TLS reload: " + nodeId + ": " + report + initiator);

throw new IgniteException(report);
}
}

Set<Factory<SSLContext>> processed = Collections.newSetFromMap(new IdentityHashMap<>());
List<String> reports = new ArrayList<>();

for (Factory<SSLContext> factory : factories.values()) {
if (!processed.add(factory))
continue;

String transports = factories.entrySet().stream()
.filter(entry -> entry.getValue() == factory)
.map(Map.Entry::getKey)
.collect(joining(", "));
for (Entry<Factory<SSLContext>, String> entry : factories) {
String transports = entry.getValue();

try {
((AbstractSslContextFactory)factory).init();
ignite.context().ssl().reload((AbstractSslContextFactory)entry.getKey());
}
catch (Exception e) {
ignite.log().warning("TLS reload: " + nodeId + ": " + transports + ": failed" + initiator, e);
Expand Down
Loading
Loading