79760580

Date: 2025-09-10 07:42:40
Score: 0.5
Natty:
Report link

If [ System.Security.Authentication.AuthenticationException ] is thrown, with [ RemoteCertificateNameMismatch ] , but it is confirmed/certain that:

In this case, we need/want dump , with DEBUG statements, the text/substrings that were expecting and what it found in the remote certificate (SubjAlName)during TLS handshake.

         “RemoteCertificateNameMismatch DEBUG: Expecting [ X (array of subjAltNames) ] but found [ Y ]”

Are these variables [X] and [Y] already already populated that we can debug/printf (log or Stdout) in the try{}/catch{} ?

We are working with a development subcontractor, and do not have direct access to code, but we want to assist them.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Brian Seklecki