Class: OpenSSL::X509::Store
Instance Method Summary collapse
Instance Method Details
#__original_set_default_paths ⇒ Object
199 |
# File 'lib/puppet/util/monkey_patches.rb', line 199 alias __original_set_default_paths set_default_paths |
#set_default_paths ⇒ Object
200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'lib/puppet/util/monkey_patches.rb', line 200 def set_default_paths # This can be removed once openssl integrates with windows # cert store, see http://rt.openssl.org/Ticket/Display.html?id=2158 Puppet::Util::Windows::RootCerts.instance.to_a.uniq.each do |x509| begin add_cert(x509) rescue OpenSSL::X509::StoreError => e warn "Failed to add #{x509.subject.to_s}" end end __original_set_default_paths end |