@@ -15,17 +15,27 @@ Authentication can be used independently of TLS encryption.
1515
1616## TLS Encryption
1717
18- As of writing, whilst QuestDB itself can't be configured to support TLS natively
19- it is recommended that you use [ HAProxy] ( http://www.haproxy.org/ ) or other
18+ As of writing, only QuestDB Enterprise can be configured to support TLS natively.
19+ If you're using the open source edition, you can still use TLS encryption by setting
20+ up [ HAProxy] ( http://www.haproxy.org/ ) or other proxy
2021to secure the connection for any public-facing servers.
2122
2223TLS can be used independently and provides no authentication itself.
2324
2425The ` tls_certs ` directory of this project contains tests certificates, its
25- [ README] ( ../tls_certs/README.md ) page describes generating your own certs.
26+ [ README] ( ../tls_certs/README.md ) page describes generating your own test certs.
27+
28+ A few important technical details on TLS:
29+ * The libraries use the ` rustls ` Rust crate for TLS support.
30+ * They also, by default, use the ` webpki_roots ` Rust crate for root certificate verification
31+ which require no OS-specific configuration.
32+ * Alternatively, If you want to use your operating system's root certificates,
33+ you can do so calling the ` tls_os_roots ` method when building the "sender" object.
34+ The latter is especially desireable in corporate environments where the certificates
35+ are managed centrally.
2636
2737For API usage:
2838* Rust: ` SenderBuilder ` 's [ ` auth ` ] ( https://docs.rs/questdb-rs/3.0.0/questdb/ingress/struct.SenderBuilder.html#method.auth )
2939 and [ ` tls ` ] ( https://docs.rs/questdb-rs/3.0.0/questdb/ingress/struct.SenderBuilder.html#method.tls ) methods.
3040* C: [ examples/line_sender_c_example_auth.c] ( ../examples/line_sender_c_example_auth.c )
31- * C++: [ examples/line_sender_cpp_example_auth.cpp] ( ../examples/line_sender_cpp_example_auth.cpp )
41+ * C++: [ examples/line_sender_cpp_example_auth.cpp] ( ../examples/line_sender_cpp_example_auth.cpp )
0 commit comments