Welcome to mirror list, hosted at ThFree Co, Russian Federation.

excon.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 132cb2ff15b2b3792231089cc360584c6ebf4bf2 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

require 'openssl'

# Excon ships its own bundled certs by default. Avoid confusion
# by using the same set that GitLab uses.
Excon.defaults[:ssl_ca_file] = OpenSSL::X509::DEFAULT_CERT_FILE
Excon.defaults[:ssl_verify_peer] = true