Load trusted CA certificates from a PEM file into an SSL context.
Declared in <openssl/ssl.h>
int
SSL_CTX_load_verify_file(
SSL_CTX* ctx,
char const* CAfile);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | SSL context whose verification store is updated. |
| CAfile | Path to a PEM file containing one or more CA certificates. |