Replace the context certificate store, incrementing store's reference count.
Declared in <openssl/ssl.h>
void
SSL_CTX_set1_cert_store(
SSL_CTX* ctx,
X509_STORE* store);
| Name | Description |
|---|---|
| ctx | SSL context whose verification store is replaced. |
| store | X509_STORE to install; any previous store is freed, and store's refcount is incremented. |