TlsContext.setCaCertFile

TlsContext setCaCertFile(string path) ref pure @safe nothrow @nogc return

Set the CA certificates file path.

Parameters

pathPath to the CA certificates file (PEM format).

Returns

Reference to this context for method chaining.