Given this configuration:
[default]
host_base = s3.nl-ams.scw.cloud
host_bucket = %(bucket)s.s3.nl-ams.scw.cloud
bucket_location = nl-ams
use_https = True
I want to upload an file:
s3-cli --part-size 512 cp *localname* s3://my-storage
Instead, this ends in:
RequestError: send request failed
caused by: Post "https://my-storage.my-storage.s3.nl-ams.scw.cloud/the-files-localname?uploads=": tls: failed to verify certificate: x509: certificate is valid for *.s3-website.nl-ams.scw.cloud, *.s3.nl-ams.scw.cloud, s3-website.nl-ams.scw.cloud, s3.nl-ams.scw.cloud, not my-storage.my-storage.s3.nl-ams.scw.cloud
Given this configuration:
I want to upload an file:
Instead, this ends in:
ca-certificate.crtfile that gets used, so this could be a second-order effect.