Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom certificate bundles #494

Merged
merged 2 commits into from Mar 18, 2017
Merged

Custom certificate bundles #494

merged 2 commits into from Mar 18, 2017

Conversation

ghost
Copy link

@ghost ghost commented Mar 18, 2017

Added a parameter to the Minio class initialization method that allows users to provide their own certificate bundle. One example use case scenario would be if a user wanted to provide a self signed certificate to use with their Minio object. If the user doesn't provide a certificate bundle themselves, Minio will default to using Certifi's (certifi.where()) certificate bundle.

…s users to provide their own certificate bundle. One example use case scenario would be if a user wanted to provide a self signed certificate to use with their Minio object. If the user doesn\'t provide a certificate bundle themselves, Minio will default to using certifi\'s certificate bundle.
removed them from my previous commit
minio/api.py Outdated
@@ -119,7 +119,8 @@ class Minio(object):
def __init__(self, endpoint, access_key=None,
secret_key=None, secure=True,
region=None,
timeout=None):
timeout=None,
certificate_bundle=certifi.where()):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tabbing.. ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look at latest commit to branch

@harshavardhana harshavardhana merged commit 7123fec into minio:master Mar 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants