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
365 366 367 368 369 370 371 372 373 374 375 376 |
# File 'ossl_x509store.c', line 365
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, NULL);
}
return Qnil;
}
|