SSLCtx.caCertsPath

Loads valid Certificate Authorities from the specified path.

From the SSL_CTX_load_verify_locations manpage:

Each file must contain only one CA certificate. Also, the files are looked up by the CA subject name hash value, which must be available. If more than one CA certificate with the same name hash value exists, the extension must be different. (ie: 9d66eef0.0, 9d66eef0.1, etc). The search is performed in the ordering of the extension, regardless of other properties of the certificates. Use the c_rehash utility to create the necessary symlinks

class SSLCtx
caCertsPath
(
const(char)[] path
)

Meta