-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
bug: x509 certificate is not valid for all domains #7593
Comments
Welcome to LocalStack! Thanks for reporting your first issue and our team will be working towards fixing the issue for you or reach out for more background information. We recommend joining our Slack Community for real-time help and drop a message to LocalStack Pro Support if you are a Pro user! If you are willing to contribute towards fixing this issue, please have a look at our contributing guidelines and our contributing guide. |
Hi @conamu , thanks for reporting. Can you please share some details on how the Timestream client is constructed in your Lambda handler? Please note in certain cases it may be required to set the |
Hey, thanks for your reply. Looking at the error message it surely makes sense that this amazon url is not meeant to be used within localstack. I cant share all of the handler code but I essentially use this to communicate with localstack:
I don't use any additional configuration to create a time stream client. I'm using the golang sdk |
Sorry, accidentally clicked close button ;0 |
So I tried doing what you suggested and I got an error that it got connection refused at http://localhost:4566. |
@whummer - apologies if I'm interjecting noise here but I've been following some similar reported issues and I thought this question may be relevant to the discussion on this ticket.
In addition to the |
Hi @adase11, thanks for chiming in, that's a good question. The problem is that it is not possible to obtain a trusted SSL certificate for Please note that our current certificate for |
Got it, so if localstack was to issue one that includes |
So I found the endpoint by myself. It's https://timestream.localhost.localstack.cloud |
Is there an existing issue for this?
Current Behavior
I have a stack that accesses Timestream. On out staging AWS account this works flawlessly. We are using AWS CDK Local to deploy.
This error greets us when the Lambda want to access timestream api to write records into it:
Lambdas are written in go with the aws sdks, on the AL_2_Provided runtime.
Expected Behavior
Timestream should be accessible without a certificate error from Lambda.
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g.,
bin/localstack
command, arguments, ordocker-compose.yml
)dockerfile:
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: