Skip to content

Commit 1463a3b

Browse files
committed
Update README about TLS features
1 parent 6059960 commit 1463a3b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,13 @@ for the most common use cases. The following features are available.
7272

7373
- `tokio_io` *(enabled by default)* — I/O based on [Tokio](https://tokio.rs/).
7474
- `async_std` — I/O based on [async-std](https://async.rs/) (doesn't work together with `tokio_io`).
75-
- `tls` — TLS support (allowed only with `tokio_io`).
75+
- `tls` — TLS support (allowed only with `tokio_io` and one of TLS libraries, under `tls-rustls` or `tls-native-tls` features).
76+
77+
### TLS
78+
79+
- `skip_verify` - do not verify the server certificate (**insecure**)
80+
- `ca_certificate` - instead of `skip_verify` it is better to pass CA certificate explicitly (in case of self-signed certificates).
81+
- `client_certificate`/`client_private_key` - authentication using TLS certificates (mTLS) (see [ClickHouse documentation](https://clickhouse.com/docs/operations/external-authenticators/ssl-x509) for more info)
7682

7783
## Example
7884

0 commit comments

Comments
 (0)