Skip to content

Commit

Permalink
Document disabling SSL certificate validation
Browse files Browse the repository at this point in the history
  • Loading branch information
eddy-geek committed Jan 2, 2015
1 parent d126b5d commit f8fc2e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,14 @@ You can pickle events if you need to serialize them. (We do this to send invites
print rehydrated_event.subject # "80s Movie Night"


To disable SSL certificate validation (e.g. when using corporate intranet) use this class (as per `requests doc <http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification>`_): ::

class UnverifiedConnection(ExchangeNTLMAuthConnection):
def build_session(self):
super().build_session()
self.session.verify = False


Changelog
---------

Expand Down

0 comments on commit f8fc2e4

Please sign in to comment.