Click here to Skip to main content
16,022,192 members

Comments by Mat Hamilton (Top 3 by date)

Mat Hamilton 3-Oct-24 11:27am View    
More specifically, the logs contain the error message, "Certificate with thumbprint xyz does not have a matching Subject."
Mat Hamilton 3-Oct-24 11:24am View    
The logs contain the failure conditions that I expect to see. The problem is context.Fail("Fail reason"); is not doing anything. I even tried to set the principal to null before calling fail. That did not change the outcome. I just need to know how to get the authentication to actually fail when I call context.Fail...
Mat Hamilton 2-Oct-24 15:49pm View    
ValidateCertificate looks at the issuer and subject of the client certificate to match them against a list of valid issuers and subject combinations. IT does some other validations as well. I will add the actual implementation to the question above.