Closed errinlarsen closed 9 years ago
The reason you are seeing the SSL error is because the https domains that are being tried with Autodiscover have invalid certs for their domain. In the case of advisory.com the cert is only valid for www.advisory.com and autodiscover.advisory.com has a cert for mail.advisory.com. My point being is that this is a misconfiguration for autodiscover. I can add an option to ignore SSL errors but in the meantime you can do one of the following:
client.http.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_NONE
Awesome answer, thanks! :+1:
This is the information I was looking for. Should I go ahead an close this for you? Or would you prefer to handle that yourself?
Leave it open for now. I'll add an option to ignore SSL in the initialization or something and log it to this ticket.
I realize this is a very new gem. Thanks for your work!
I've been spiking recently on integrating Viewpoint into my app and I recently decided I'd like to integrate use of Exchange's Autodiscovery so my user's wouldn't need to know their EWS endpoints.
That being said, I experienced the following while playing with this gem:
I haven't had to deal with server certificates at all while playing with your `WinRb/Viewpoint' gem, so I thought this might be a "new gem; version 0.1.0; all-of-the-things don't work yet!" kinda thing.
On a whim, I did the following:
Should I expect that I need to deal with server certificates? Is the gem supposed to handle this sort of thing but it just isn't handled yet?