summaryrefslogtreecommitdiff
path: root/config/initializers/excon.rb
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