Method: OpenSSL::X509::Store#set_default_paths
- Defined in:
- ossl_x509store.c
#set_default_paths ⇒ Object
Configures store to look up CA certificates from the system default certificate store as needed basis. The location of the store can usually be determined by:
-
OpenSSL::X509::DEFAULT_CERT_FILE
-
OpenSSL::X509::DEFAULT_CERT_DIR
See also the man page X509_STORE_set_default_paths(3).
420 421 422 423 424 425 426 427 428 429 430 |
# File 'ossl_x509store.c', line 420
static VALUE
ossl_x509store_set_default_paths(VALUE self)
{
X509_STORE *store;
GetX509Store(self, store);
if (X509_STORE_set_default_paths(store) != 1)
ossl_raise(eX509StoreError, "X509_STORE_set_default_paths");
return Qnil;
}
|