Configuring TLS for Lambda client #1303
Unanswered
naveedannoor
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using aws-lambda-sdk to invoke lambda. However, the system i am using does not contain root CA. Also, I want to allow user to configure their own tls. I would like to construct the http client (with hyper 1.6) with my custom TLS. I found the code example in https://docs.rs/aws-smithy-runtime/latest/aws_smithy_runtime/client/http/hyper_014/struct.HyperClientBuilder.html
This does not work as I suspect that this is built for hyper014. I get the following error:
Is there a workaround for this such that i can create http client with my custom tls and create a config that can be used to create a AWS lambda client? The reason I wanted to do it this way instead of what is mentioned in #1286 (comment) is because i have util that builds TLS config and i can reuse it.
Beta Was this translation helpful? Give feedback.
All reactions