# File lib/gelf/transport/tcp_tls.rb, line 109
      def ssl_cert_store
        OpenSSL::X509::Store.new.tap do |store|
          unless @tls_options['no_default_ca']
            store.set_default_paths
          end

          if @tls_options.key?('ca')
            ca = @tls_options['ca']
            if File.directory?(ca)
              store.add_path(@tls_options['ca'])
            elsif File.file?(ca)
              store.add_file(ca)
            else
              $stderr.puts "No directory or file: #{ca}"
            end
          end
        end
      end