We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce93fd3 commit ba1eecbCopy full SHA for ba1eecb
docs/source/connecting/tls.md
@@ -6,6 +6,15 @@ Driver uses either the
6
7
Both of this features are behind their respective feature flag.
8
9
+## Hostname verification
10
+
11
+For both implementations we provide node IP address for purposes of hostname verification.
12
+Our assumption is that certificates on nodes will have node IP address in the subject alternative name.
13
14
+Implementation details (might change in the future):
15
+For openssl we use `set_ip` method on `X509VerifyParamRef`, which corresponds to `X509_VERIFY_PARAM_set1_ip` openssl function.
16
+For rustls, we use `ServerName::IpAddress`, which is passed to `ClientConnection::new_with_alpn` (by `tokio_rustls`).
17
18
19
### Enabling feature
20
0 commit comments