From 0e525d69ff9945e3ba113c3c88b0e1bd86c457a0 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Wed, 8 May 2013 15:45:12 -0400 Subject: [PATCH] Disable SSL cert validation for Zendesk API They are currently using a CA that is not installed on our servers. Since it isn't a top-tier CA and we aren't submitting anything particularly sensitive anyway, we don't have to feel too bad about this. --- common/djangoapps/util/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/djangoapps/util/views.py b/common/djangoapps/util/views.py index c087e99cb5..1065140f5d 100644 --- a/common/djangoapps/util/views.py +++ b/common/djangoapps/util/views.py @@ -49,7 +49,10 @@ class _ZendeskApi(object): settings.ZENDESK_USER, settings.ZENDESK_API_KEY, use_api_token=True, - api_version=2 + api_version=2, + # As of 2012-05-08, Zendesk is using a CA that is not + # installed on our servers + client_args={"disable_ssl_certificate_validation": True} ) def create_ticket(self, ticket):