From: Antonio Terceiro <terceiro@debian.org>
Date: Wed, 6 Oct 2021 10:03:32 -0300
Subject: Use system CA certificate store

---
 lib/httpclient/ssl_config.rb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

--- a/lib/httpclient/ssl_config.rb
+++ b/lib/httpclient/ssl_config.rb
@@ -255,7 +255,7 @@
     # Loads default trust anchors.
     # Calling this method resets all existing sessions.
     def load_trust_ca
-      load_cacerts(@cert_store)
+      set_default_paths
       change_notify
     end
 
@@ -422,11 +422,6 @@
       nil
     end
 
-    # Use 2048 bit certs trust anchor
-    def load_cacerts(cert_store)
-      file = File.join(File.dirname(__FILE__), 'cacert.pem')
-      add_trust_ca_to_store(cert_store, file)
-    end
   end
 
 
