SSL_CTX_load_verify_dir, SSL_CTX_load_verify_file ... The certificates in CApath are only looked up when required, e.g. when building the certificate chain or when actually performing the verification ...