Skip to content

Conversation

@Arkatufus
Copy link
Contributor

No description provided.

… 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.
- 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.
Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

var sb = new StringBuilder();

if (SuppressValidation is not null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we supposed to use DotNettySslSetup anywhere in this class?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do, in line 118

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb Aaronontheweb merged commit af0ef22 into akkadotnet:dev Oct 14, 2025
2 checks passed
This was referenced Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants