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

AWS EKS SSL Cert pass through #13326

Open
priteshwatch opened this issue Feb 25, 2021 · 1 comment
Open

AWS EKS SSL Cert pass through #13326

priteshwatch opened this issue Feb 25, 2021 · 1 comment
Labels

Comments

@priteshwatch
Copy link

@priteshwatch priteshwatch commented Feb 25, 2021

I was able to setup using the helm service. However, when I tried to use the ssl cert via AWS Cert manager, things dont seemt to work. I am seeing a redirect from https -> http. I would like to only have https exposed. But it seems like superset is redirectly from https to http, not realizing that the https is managed outside.

service.beta.kubernetes.io/aws-load-balancer-type: nlb
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-1:XXXX:certificate/YYYYYY
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
service.beta.kubernetes.io/aws-load-balancer-ssl-negotiation-policy: "ELBSecurityPolicy-TLS-1-2-2017-01"
external-dns.alpha.kubernetes.io/hostname: superset.domain.com

Is there a way to keep superset on strictly https?

@priteshwatch priteshwatch added the #bug label Feb 25, 2021
@priteshwatch
Copy link
Author

@priteshwatch priteshwatch commented Feb 25, 2021

I have the following settings in the config

ENABLE_PROXY_FIX = True
PREFERRED_URL_SCHEME = 'https'
FORWARDED_ALLOW_IPS = '*'

There is a 302 redirect from https to http

@amitmiran137 amitmiran137 added question and removed #bug labels Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants