mmodzelewski opened a new issue, #2806:
URL: https://github.com/apache/iggy/issues/2806

   ## Summary
   
   The C# SDK has TCP/TLS support fully implemented and even has dedicated 
integration tests (`IggyTlsConnectionTests.cs` with `IggyTlsServerFixture.cs`), 
but there are no TLS examples in `examples/csharp/`.
   
   ## Current State
   
   - **TLS implementation**: Full support via `SslStream` and 
`X509Certificate2Collection` in `TcpMessageStream.cs`
   - **Configuration**: `TlsSettings` class with `Enabled`, `Hostname`, and 
`CertificatePath` properties
   - **Integration tests**: Comprehensive TLS tests exist:
     - `Connect_WithTls_Should_Connect_Successfully`
     - `Connect_WithoutTls_Should_Throw_WhenTlsIsRequired`
     - `Connect_WithTls_CA_Should_Connect_Successfully`
   - **Examples**: No TLS-specific examples in `examples/csharp/` (only Basic, 
GettingStarted, MessageEnvelope exist)
   
   ## Requirements
   
   ### Examples
   - Add a TLS example project in `examples/csharp/` demonstrating:
     - How to configure `IggyClientConfigurator` with `TlsSettings` (enabled, 
hostname, certificate path)
     - How to use custom certificates from `core/certs/` (`iggy_cert.pem`, 
`iggy_ca_cert.pem`, `iggy.pfx`)
     - A simple producer/consumer flow over TLS
     - Include clear comments explaining TLS configuration options
   
   ## Reference
   
   - TLS configuration: 
`foreign/csharp/Iggy_SDK/Configuration/TlsConfiguration.cs`
   - Existing TLS tests: 
`foreign/csharp/Iggy_SDK.Tests.Integration/IggyTlsConnectionTests.cs`
   - Custom certs location: `core/certs/`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to