RobertIndie opened a new issue, #229:
URL: https://github.com/apache/pulsar-dotpulsar/issues/229

   ### Is your feature request related to a problem? Please describe
   
   We encountered an exception:
   ```
   System.Security.Authentication.AuthenticationException: The remote 
certificate was rejected by the provided RemoteCertificateValidationCallback.   
 at DotPulsar.Internal.SubConsumer`1.Guard()
   ```
   It seems that there may be some errors in 
[`ValidateServerCertificate`](https://github.com/apache/pulsar-dotpulsar/blob/469ac8944ba05c436f35aa2c4eb840ddaadccc4d/src/DotPulsar/Internal/Connector.cs#L147-L176)
 that failed the validation. There are some checks for the certificate. But it 
didn't print any detailed logs explaining why the check failed. We couldn't 
find more details about the root cause. 
   
   ### Describe the solution you'd like and alternatives you've considered
   
   Adding more detailed logs in 
[`ValidateServerCertificate`](https://github.com/apache/pulsar-dotpulsar/blob/469ac8944ba05c436f35aa2c4eb840ddaadccc4d/src/DotPulsar/Internal/Connector.cs#L147-L176)
 to explain why the validation failed would be helpful.


-- 
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]

Reply via email to