Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmCustomTLSInternalServer.LoadTrustedCertsFromFile

procedure LoadTrustedCertsFromFile(AFileName: TFileName);
Loads a single DER/CER/CRT certificate, or a PKCS#7 (.p7b/.p7c) bundle, into TrustedCerts - certificates that are trusted directly (pinned) without needing a chain up to a RootCerts anchor. Useful for pinning a specific peer certificate on either the client or the server side.