-
Notifications
You must be signed in to change notification settings - Fork 249
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
aws_sdk_s3::Client with custom ca_cert example #334
Comments
Hello! In the process of trying to work up an example for you, I realized there are a couple of issues making this quite challenging. I filed #338 to track. |
The next release will include a way to (relatively) easily provide your own connector for AWS config and generated clients. This isn't super ergonomic at the moment and we'll keep iterating on it |
We now have a ca-cert example |
|
Prerequisites
Question Description
I'm trying to find an example of creating an
aws_sdk_s3::Client
with a custom cert.I seem to be going around in circles trying the various TLS options with the various client/connector options.
with the following code:
I'm currently getting a
Connection reset by peer
error. I'm fairly certain this is because of my corporate network setup and the need to a custom cert chain. I've explored various option in order to use a customcrt
file.I've tried various combinations of
rusttls
andnative-tls
and composinghyper
andhyper-tls
as well assmithy
but I can't work out the correct combination, let alone when or why I would choose one combination over another.Any help appreciated.
Platform/OS/Device
Linux vdiopcuk00065 4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Language Version
rustc 1.57.0
The text was updated successfully, but these errors were encountered: