Closed legout closed 5 days ago
Nevermind, I´ve found the solution on my own, by testing several ways to set AllowInvalidCertificate
in the storage_options
This is how I got it working:
storage_options = {
"endpoint_url": "https://s3.name123.com/",
"aws_access_key_id": "some_user",
"aws_secret_access_key": "some_pw",
"aws_region": "us-eas-1", # neccessary to avoid imds region warnings
"allow_invalid_certificates":"true"
}
Environment
Delta-rs version: 0.21.0
Binding: Python
Environment: SeaweedFS S3 with self-signed ssl certificate
Bug
We have a self hosted seaweedfs s3 running on a virtual machine using self-signed certificates.
This is how I have configured my
storage_options
Unfortunately, I am not able to read (or write) to our s3 using this
storage_options
.It think our self-signed ssl certs causes the problems here. Is it possible to disable the ssl certificate check in the
storage_options
? There is a parameterAllowInvalidCertificates
in the object_storeClientConfig
, which might do the trick. But I do not know how to pass this one into storage_options properly.Note: With rclone I have to pass the parameter
--no-check-certificate
and when using fsspec, I have to provideclient_kwargs={'verify':False}
to connect to our seaweedfs s3.