TlsContext.setCertFile

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

Set the certificate file path.

Parameters

pathPath to the certificate file (PEM format).

Returns

Reference to this context for method chaining.