[#SSL_CTX_load_verify_locations] = SSL_CTX_load_verify_locations :mrdocs: Load trusted CA certificates from a PEM file and/or hashed directory into an SSL context. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_load_verify_locations( xref:SSL_CTX.adoc[SSL_CTX]* ctx, char const* CAfile, char const* CApath); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose verification store is updated. | *CAfile* | Path to a PEM file of CA certificates, or NULL to skip. | *CApath* | Directory of PEM certificates named by subject‐name hash, or NULL to skip. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#