Actions
Bug #12687
closedOpenSSL::X509::Store wont load certificates from set_default_paths
Bug #12687:
OpenSSL::X509::Store wont load certificates from set_default_paths
Description
Setting up a new instance of OpenSSL::X509::Store, and setting "set_default_paths" will not actually import any certificates into Store.
Environment: Ubuntu 14.04
File.dirname OpenSSL::Config::DEFAULT_CONFIG_FILE => "/usr/lib/ssl"
use the store to verify a certificate (store.verify(ssl_certificate)) returns false
After manually doing:
Dir.glob("/usr/lib/ssl/certs/*").each do |cert| begin cert_store.add_file cert rescue Exception next end end
the verify returns true.
Actions