title: What is the path set for OpenSSL:X509::Store#set_default_paths method in ruby?
body: <p>I am doing this:</p>
  
  <pre><code>cert_store = OpenSSL::X509::Store.new
  cert_store.set_defaults_path
  </code></pre>
  
  <p>The documentation for this method is given in <a href="https://ruby-doc.org/stdlib-2.0.0/libdoc/openssl/rdoc/OpenSSL/X509/Store.html" rel="nofollow">OpenSSL::X509::Store</a>.</p>
  
  <p>From where does the certificate store object read the certificates? I perused the source code for the definition of set_default_paths but was not able to find one. </p>
  
  <p>One theory is that the default paths may be the same as the ones given by 
  <code>$ openssl version -a</code> 
  But that theory fails even when you try to verify signed certificates against the certificate chain at your system root_ca_path.</p>