lib/ftw/agent.rb in ftw-0.0.21 vs lib/ftw/agent.rb in ftw-0.0.22

- old
+ new

@@ -75,10 +75,10 @@ # JRUBY-6870 - strip 'jar:' prefix if it is present. if default_ca =~ /^jar:file.*!/ default_ca.gsub!(/^jar:/, "") end - @certificate_store.add_file(File.join(File.dirname(__FILE__), "cacert.pem")) + @certificate_store.add_file(default_ca) end # Handle the local user/app trust store as well. if File.directory?(configuration[SSL_TRUST_STORE]) # This is a directory, so use add_path