Request.sslSetCertFile

Set path to ssl cert file.

file type can be SSLOptions.filetype.pem (default) or SSLOptions.filetype.der or SSLOptions.filetype.asn1.

if you configured only key file or only cert file, we will try to load counterpart from the same file.

struct Request
@property pure @safe nothrow @nogc
void
sslSetCertFile

Examples

auto rq = Request();
rq.sslSetCertFile("client01.crt");
auto rs = rq.get("https://localhost:4443/");

Meta