Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS certificate strings and custom SNI validation #242

Open
j4k0xb opened this issue Feb 2, 2025 · 0 comments
Open

TLS certificate strings and custom SNI validation #242

j4k0xb opened this issue Feb 2, 2025 · 0 comments

Comments

@j4k0xb
Copy link

j4k0xb commented Feb 2, 2025

Please consider adding these features:

  1. Allow setting the trust_store etc. to a string that contains the certificate, instead a path. Use case: crate ships with custom CA certificate of the server, avoid creating temporary files

  2. Allow passing a custom server name that will be used for validating the SNI field, instead of using the host name. Use case: host name of the connection (IP) is different than the certificate's SNI (device serial number). See Node.js TLS servername parameter and paho.mqtt.c for how this could be implemented.

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

No branches or pull requests

1 participant