From 51766d51a9d43f11c71f738f7c64fc0eade9c5ff Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 25 Sep 2017 09:58:12 +0200 Subject: [PATCH] =?UTF-8?q?Fixed=20issue=20#1442=20f=C3=BCr=20autodiscover?= =?UTF-8?q?=20with=20urls=20like=20https://#{client.domain}/autodiscover/a?= =?UTF-8?q?utodiscover.xml=20and=20self=20signed=20certs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/integration/exchange_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/integration/exchange_controller.rb b/app/controllers/integration/exchange_controller.rb index cdb3fa427..1e31e0874 100644 --- a/app/controllers/integration/exchange_controller.rb +++ b/app/controllers/integration/exchange_controller.rb @@ -11,7 +11,7 @@ class Integration::ExchangeController < ApplicationController email: params[:user], password: params[:password], ) - + client.http.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_NONE { endpoint: client.try(:autodiscover).try(:ews_url), }