mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-29 12:00:32 +00:00
9 lines
260 B
Ruby
9 lines
260 B
Ruby
# 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
|