Comments (9)
I see what's going wrong here. By default it's looking at the wrong certificate bundle, while it should use this: /etc/ssl/certs/ca-certificates.crt
, other clients like Hyper in Rust don't really have an issue with find this, so quite interesting
from s3fs.
Python SSL certificates are a thing. Apparently, you can set AWS_CA_BUNDLE or configure this in your .aws config somehow.
from s3fs.
@martindurant what do you mean, are a thing? I don't use AWS so I won't have that config.
What I don't quite get, that this is only an issue with aiobotocore. everything else is able to find the certificate bundles without a problem
from s3fs.
The cert path defined within python is often not your system one. The rust crate will use the latter.
everything else is able to find the certificate bundles without a problem
What is "everything else" in this context? Libraries like requests
usually allow you to explicitly supply extra bundles/paths at runtime.
from s3fs.
The cert path defined within python is often not your system one. The rust crate will use the latter.
everything else is able to find the certificate bundles without a problem
What is "everything else" in this context? Libraries like
requests
usually allow you to explicitly supply extra bundles/paths at runtime.
I don't believe I've needed to manually provide the paths for 'requests' before
from s3fs.
I don't believe I've needed to manually provide the paths for 'requests' before
but have you used that with a custom endpoint like this before?
from s3fs.
I don't believe I've needed to manually provide the paths for 'requests' before
but have you used that with a custom endpoint like this before?
I connected on multiple occasions to intranet pages that required the CA bundles to be manually installed in the system.
from s3fs.
ca_bundle and AWS_CA_BUNDLE are mentioned here: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html . This suggests that boto(core) won't use your standard configuration without explicitly configuring. Have you tried setting these values?
from s3fs.
@martindurant I got it working with: client_kwargs={"verify": CERT_PATH}
, sorry for late update : P
from s3fs.
Related Issues (20)
- Failed to check IAM role name HOT 2
- Access Denied when IAM policy give access (Read/Write/Listing) to only a prefix area HOT 14
- difficult to perform delete_object request instead of delete_objects using S3FileSystem HOT 7
- S3fs doesn't check again if file exists HOT 4
- Inconsistent recursive `put` behavior when running an identical command twice successively HOT 1
- open_async file is closed on arrival HOT 1
- set_session does not seem to be thread / jobs safe HOT 4
- Random XAmzContentSHA256Mismatch Errors HOT 6
- Access denied when providing an authentication token associated with a set of permission policies to S3FileSystem HOT 3
- calling flush on s3fs fails HOT 2
- s3fs 2024.3.0 fails reading glob patterns through pandas HOT 12
- Question: is awscrt useful ? HOT 2
- Errors when installing s3fs on Sagemaker Studio HOT 1
- Why isn't Pathlib supported yet? HOT 1
- Working example of using Async/Await HOT 7
- How to Increase async httpconnection limit? HOT 7
- Does aioboto3 Support Authentication with EC2 IAM Roles? HOT 3
- upload function didn't recognize the file path having "[]". HOT 4
- How to upload a list of files from local fs to cloud s3 fs async? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s3fs.