Skip to content
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

Create lb with http and https #104

Open
juliangruber opened this issue Jan 14, 2020 · 1 comment
Open

Create lb with http and https #104

juliangruber opened this issue Jan 14, 2020 · 1 comment

Comments

@juliangruber
Copy link

@juliangruber juliangruber commented Jan 14, 2020

Thank you for this CLI!

I'm trying to create a load balancer that forwards both HTTP and HTTPS, with a certificate, and am getting this error:

$ fargate lb create NAME --port 80 --port 443 --certificate DOMAIN --region eu-west-1
 ⚠️  Could not create listener
    - ValidationError: A certificate cannot be specified for HTTP listeners
	status code: 400, request id: e913f856-4580-4dcf-bb9e-09ef791e2957

What am I doing wrong?

@juliangruber

This comment has been minimized.

Copy link
Author

@juliangruber juliangruber commented Jan 14, 2020

For now I'm just creating the HTTPS listener with the CLI and adding the HTTP listener manually afterwards I manually added a second listener which redirects HTTP to HTTPS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.