Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmAsyncTLSServer.LoadRootCertsFromFile

procedure LoadRootCertsFromFile(aFileName: TFileName);
Loads trust anchors into every shard.

NO RESULT. A per-shard count would have to be either one shard's answer or a sum, and neither says anything a caller can use: the shards are required to hold the same anchors, so N times one number is noise, and one shard's number is a fact about that shard. What matters is whether it worked, and that is what the exception is for.

CONFIGURATION-TIME ONLY, and RAISES once the server is active - the same rule as ImportFromPFX, for the same reason: every shard has had TLSSetupServer run over the store this would change. To add a trust anchor to a RUNNING server use AddCertificate, which is built for a hot bank.