Skip to content

add mTLS support#60

Draft
HTHou wants to merge 1 commit into
mainfrom
codex/add-mtls-support
Draft

add mTLS support#60
HTHou wants to merge 1 commit into
mainfrom
codex/add-mtls-support

Conversation

@HTHou

@HTHou HTHou commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add mTLS configuration to the C# client with ClientCertificatePath, ClientCertificatePassword, and RootCertificatePath options.
  • Wire TLS certificate loading and custom CA validation into SessionPool, including ADO.NET connection string support.
  • Document the JDK 17/keytool artifact mapping for C# users, including direct use of client.keystore and ca.crt.
  • Add configuration tests for the new builder and connection string options.

Impact

Users can now configure one-way TLS with a private CA and mTLS client certificates through both the fluent builders and ADO.NET connection strings. The documented Java/keytool workflow now maps directly to the C# parameters.

Validation

  • git diff --check
  • dotnet build tests/Apache.IoTDB.Tests/Apache.IoTDB.Tests.csproj -f net5.0 --no-restore -v:minimal -clp:ErrorsOnly

@HTHou HTHou changed the title [codex] add mTLS support add mTLS support Jun 26, 2026
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.

1 participant