questdb / c-questdb-client

Rust, C and C++ client for QuestDB InfluxDB Line Protocol
Apache License 2.0
48 stars 13 forks source link

feat: Optional TLS Support #10

Closed amunra closed 2 years ago

amunra commented 2 years ago

Whole connection encryption using TLS.

Feature

There are three TLS options:

The enabled option can either use well-known CAs or you can specify a file path to your own CA.

TLS options are passed in via the sec_opts argument before connecting.

Relationship with Authentication

This change is orthogonal to authentication: Either feature may be turned on or off independently.

See examples for more details.