Skip to content
This repository has been archived by the owner on Feb 6, 2021. It is now read-only.

http->https redirect? #32

Closed
sriney-staked opened this issue Jan 11, 2019 · 1 comment
Closed

http->https redirect? #32

sriney-staked opened this issue Jan 11, 2019 · 1 comment
Labels
question Further information is requested

Comments

@sriney-staked
Copy link

Not an issue per se, but it doesn't appear that the annotation for the regular (GCE)/ingress controller works in this case (using: kubernetes.io/ingress.allow-http: "false").

Do I need to upgrade to the Nginx controller? Can that be done in the step before requesting the cert such that the automation to update the ingress manifest will work?

https://github.com/kubernetes/ingress-nginx/

@ahmetb
Copy link
Owner

ahmetb commented Jan 11, 2019

Haven't tried with ingress-nginx myself, but just know that LetsEncrypt doesn't require a certificate while validating the requests.

so if you

  1. set up http->https redirect
  2. request a cert

then LE challenge request will go to https:// (which has no valid cert) but LE doesn't care about the bad/no cert situation.

I'd google "nginx-ingress" LetsEncrypt and/or ask this on "cert-manager" repo.

@ahmetb ahmetb closed this as completed Jan 11, 2019
@ahmetb ahmetb added the question Further information is requested label Jan 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants