[#SSL_CTX_set_cert_store]
= SSL&lowbar;CTX&lowbar;set&lowbar;cert&lowbar;store
:mrdocs:

Replace the context certificate store, taking ownership of `store&period;`

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SSL&lowbar;CTX&lowbar;set&lowbar;cert&lowbar;store(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    xref:X509_STORE.adoc[X509&lowbar;STORE]* store);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context whose verification store is replaced&period;
| *store*
| X509&lowbar;STORE to install&semi; any previous store is freed, and `store` is owned by `ctx&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
