From 01ea22ed6dfb2dbdc7562e2f2445507c28b0f263 Mon Sep 17 00:00:00 2001 From: bruckwubete Date: Wed, 11 Jul 2018 14:57:00 -0400 Subject: [PATCH] removed OpenSSL::SSL::VERIFY_PEER assignment --- config/environments/production.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index ed1ada84..42654597 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -73,10 +73,6 @@ Rails.application.configure do # Use default logging formatter so that PID and timestamp are not suppressed. config.log_formatter = ::Logger::Formatter.new - # rails runs over http in production. Turning OpenSSL verify off to skip oauth2 verification of certs. - # This is done on nginx level - OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE - # Use a different logger for distributed setups. # require 'syslog/logger' # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')