Read a store from a file. Throw if unable to read the file, memory allocation fails, or any cert can't be parsed or added to the store.

Synopsis

Declared in <folly/ssl/OpenSSLCertUtils.h>

static
/* implementation-defined */
readStoreFromFile(std::string caFile);

Return Value

A X509 store that contains certs in the CA file.

Parameters

Name

Description

caFile

Path to the CA file.

Created with MrDocs