Commit af0ef22
authored
Add SSL TLS configuration settings changes from Akka v1.5.52 and v1.5.53 (#675)
* feat(Remote.Hosting): Add SSL/TLS configuration options from Akka.NET v1.5.52 and v1.5.53
- Added RequireMutualAuthentication property to SslOptions (default: true as per v1.5.52)
- Enables mutual TLS (mTLS) authentication where both client and server must present valid certificates
- Provides defense-in-depth security for peer-to-peer Akka.Remote connections
- Added ValidateCertificateHostname property to SslOptions (default: false as per v1.5.53)
- Controls whether certificate hostname validation is performed during TLS handshake
- Can be disabled for mutual TLS with per-node certificates, IP-based connections, or dynamic addresses
- Updated Build method to include new settings in HOCON configuration
- Added comprehensive unit tests for the new SSL/TLS settings
- Added TODO comment for future DotNettySslSetup constructor usage when Akka.NET is upgraded to v1.5.53+
Note: Currently these settings are only applied via HOCON configuration. Direct DotNettySslSetup
constructor support will be enabled when Akka.NET dependency is upgraded to v1.5.53 or later.
* chore: Upgrade Akka.NET to v1.5.53 and enable new SSL/TLS constructor
- Upgraded Akka.NET dependency from 1.5.52 to 1.5.53
- Updated version prefix to 1.5.53
- Removed "future implementation" comment and enabled the 4-parameter DotNettySslSetup constructor
- Now directly passing RequireMutualAuthentication and ValidateCertificateHostname to DotNettySslSetup
- Updated release notes to reflect the new SSL/TLS configuration features
- All tests pass with the new version
The new SSL/TLS settings are now fully integrated with both HOCON configuration and the DotNettySslSetup class.
* Update API Approval list
* harden unit tests1 parent d716471 commit af0ef22
File tree
4 files changed
+179
-14
lines changed- src
- Akka.Hosting.API.Tests/verify
- Akka.Remote.Hosting.Tests
- Akka.Remote.Hosting
4 files changed
+179
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
32 | | - | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
Lines changed: 111 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
447 | 556 | | |
448 | 557 | | |
449 | 558 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
| 107 | + | |
| 108 | + | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
113 | 125 | | |
114 | 126 | | |
115 | 127 | | |
| |||
197 | 209 | | |
198 | 210 | | |
199 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
200 | 243 | | |
201 | 244 | | |
202 | 245 | | |
203 | | - | |
| 246 | + | |
204 | 247 | | |
205 | 248 | | |
206 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
207 | 256 | | |
208 | | - | |
| 257 | + | |
209 | 258 | | |
210 | 259 | | |
211 | | - | |
| 260 | + | |
212 | 261 | | |
213 | 262 | | |
214 | 263 | | |
| |||
0 commit comments