SSL TLS Support
Hello, I noticed this project deploys only a http url, SSL should probably be the default
Thanks Michael for the issue.
Currently, there is no plan to add support of using SSL by default. However, you can fully customize the solution once it's deployed on AWS based on your need. Simply follow below steps and you will have the SSL enbled.
- Go to ALB and find the listerner rule, and change from port 80 (HTTP) to 443 (HTTPS) and associate that with an ACM certificate
- Change the security group inbound rule of the ALB to accept HTTPS inbound.
- Use Route53 for custom domain for the ALB (optional)
- Change your base url to https instead of http.
There is no need to change the code for this. Hope this helps.
@daixba It would be great if this was a option in the CFN template. Offering a solution that's not https isn't a production ready solution.
Ideally an option in the CFN template that sets up the ALB and creates a cert with ACM.
I created a guide on how to setup TLS https://github.com/aws-samples/bedrock-access-gateway/pull/101, please merge