Fixed issue #1442 für autodiscover with urls like https://#{client.domain}/autodiscover/autodiscover.xml and self signed certs.

This commit is contained in:
Martin Edenhofer 2017-09-25 09:58:12 +02:00
parent 5b8715184e
commit 51766d51a9

View file

@ -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),
}