#include <cat/cat.h>
int catcert_setcafile(const char *path);
C(#)
will be ignored.
These certificates will be used when validating certificates locally. If a certificate chain ends with any of the CA certificates in the file installed by catcert_setcafile(), and the certificate is otherwise correct then the certificate is accepted.
Only one CA file can be installed for each process. Multiple files can be merged by concatenation.