Discuss this help topic in SecureBlackbox Forum

Obtain detailed certificate validation log

As certificate validation is a complicated process involving multiple parties, sometimes establishing a reason for validation failure might be a troublesome. To simplify this task, TElX509CertificateValidator creates a detailed validation log. This log is in a human-readable form, and can be accessed via the TElX509CertificateValidator.InternalLogger property:


string log = validator.InternalLogger.Log.Text;
byte[] utf8log = Encoding.UTF8.GetBytes(log);
FileStream f = new FileStream("validator.log", FileMode.Create);
try
{
  f.Write(utf8log, 0, utf8log.Length);
}
finally
{
  f.Close();
}

How To articles about TElX509CertificateValidator

Discuss this help topic in SecureBlackbox Forum