Skip to content

Commit 09120a7

Browse files
DOC-13259 ForceIpAsTargetHost
1 parent 5751db3 commit 09120a7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/howtos/pages/managing-connections.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,11 @@ As of SDK 3.4, if you connect to a Couchbase Server cluster with a root certific
234234
The cluster's root certificate just needs to be issued by a CA whose certificate is in your system trust store.
235235
This includes well known CAs (e.g., GoDaddy, Verisign, etc...), plus any other CA certificates that you wish to add.
236236

237-
IMPORTANT: .NET SDK sets `ClusterOptions.ForceIpAsTargetHost` to `false` by default, which means it will send the IP as the target host during TLS authentication.
237+
IMPORTANT: Prior to .NET SDK 3.7.2, the SDK sets `ClusterOptions.ForceIpAsTargetHost` to `true` by default,
238+
which means it will send the IP as the target host during TLS authentication.
238239
This will cause a certificate name mismatch.
239-
As a workaround, you need to set `ClusterOptions.ForceIpAsTargetHost` to `true` for the above to work.
240+
As a workaround, for .NET SDK 3.7.1 and earlier,
241+
you need to set `ClusterOptions.ForceIpAsTargetHost` to `false` for the above to work.
240242

241243
You can still provide a certificate explicitly if necessary:
242244

0 commit comments

Comments
 (0)