blankensteiner commented on a change in pull request #14451:
URL: https://github.com/apache/pulsar/pull/14451#discussion_r815690887
##########
File path: site2/docs/security-tls-transport.md
##########
@@ -256,3 +259,4 @@ var client = PulsarClient.Builder()
.VerifyCertificateName(false) //Default is 'false'
.Build();
```
+> Note that `VerifyCertificateName` refers to the configuration of hostname
verification in the C# client.
Review comment:
@RobertIndie I have no idea. We register a
[callback](https://docs.microsoft.com/en-us/dotnet/api/system.net.security.remotecertificatevalidationcallback?view=net-6.0)
when creating the
[SslStream](https://docs.microsoft.com/en-us/dotnet/api/system.net.security.sslstream.-ctor?view=net-6.0#system-net-security-sslstream-ctor(system-io-stream-system-boolean-system-net-security-remotecertificatevalidationcallback-system-net-security-localcertificateselectioncallback))
and then ignore the RemoteCertificateNameMismatch flag on the
[SslPolicyErrors](https://docs.microsoft.com/en-us/dotnet/api/system.net.security.sslpolicyerrors?view=net-6.0)
if VerifyCertificateName is set to false.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]