eventTsmCustomTLSInternalServer.OnCertNotTrusted
property OnCertNotTrusted: TCertNotTrustedEvent read FOnCertNotTrusted write SetOnCertNotTrusted;
Fires when a peer certificate chain fails the normal trust check (no path to a trusted root), letting an application decide at runtime whether to explicitly trust it anyway (e.g. an interactive "accept this certificate" prompt, or pinning logic). Relevant to whichever side is validating the other's chain - a client validating a server certificate, or a server validating a client certificate under mTLS.