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

Example with custom S3 api server #45

Closed
zloidemon opened this issue Apr 4, 2016 · 4 comments
Closed

Example with custom S3 api server #45

zloidemon opened this issue Apr 4, 2016 · 4 comments

Comments

@zloidemon
Copy link

Hi,

I have my own S3 api server, but I can't get data because cert can't verify. I changed verify=False in client it not solve an issue. Then I've seen code and found that is reading configuration from where? Also, I have my own certs bundle (ca_certs) I changed settings in client to read that, but i got same error with verification. Would you like to provide an example file with custom S3 api server connection?

@jettify
Copy link
Member

jettify commented Apr 4, 2016

Honestly, I have never tried to supply cert bundle or anything to do with certs...

As for none aws s3, aiobotocore should be able to connect, but that could be tricky since you need to disable fix_s3_host event in order to connect to custom host.

@jettify
Copy link
Member

jettify commented Apr 4, 2016

So you can try to do something like: session.unregister('before-sign.s3', fix_s3_host)

@zloidemon
Copy link
Author

You can try it easy with install sx and libres3. It takes around 10-20 min of real life.

@jettify
Copy link
Member

jettify commented Jan 21, 2017

I am not sure if this fix you problem, but you can pass endpoint parameter to the client, this way we test s3 with mocking server. Closing for now.

@jettify jettify closed this as completed Jan 21, 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

No branches or pull requests

2 participants