Skip to content

Commit

Permalink
Merge pull request #503 from stripe/ob-custom-cert-bundle
Browse files Browse the repository at this point in the history
 Add support for providing custom CA cert bundle
  • Loading branch information
ob-stripe authored Nov 30, 2018
2 parents 6c130ea + e383509 commit 7bf12f3
Show file tree
Hide file tree
Showing 3 changed files with 559 additions and 1,236 deletions.
4 changes: 4 additions & 0 deletions stripe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from __future__ import absolute_import, division, print_function

import os

# Stripe Python bindings
# API docs at http://stripe.com/docs/api
# Authors:
Expand All @@ -20,6 +22,8 @@
default_http_client = None
app_info = None
max_network_retries = 0
ca_bundle_path = os.path.join(
os.path.dirname(__file__), 'data/ca-certificates.crt')

# Set to either 'debug' or 'info', controls console logging
log = None
Expand Down
Loading

0 comments on commit 7bf12f3

Please sign in to comment.