stack icon indicating copy to clipboard operation
stack copied to clipboard

How to configure cert-manager to generate valid certificates?

Open engmsaleh opened this issue 5 years ago • 2 comments

What happened: When I deploy my website to stack with SSL and LetsEncypt support and visit the website in any browser I got the "cert-manager" certificate isn't trusted by browsers, hence the browsers don't recognize the website as trusted on and hence not HTTPs

What you expected to happen: It should make a certificate and SSL should work correctly

How to reproduce it (as minimally and precisely as possible): Deploy stack with SSL support and try to check if the cert-manger certificate is trusted

Anything else?: No Screen Shot 2020-05-24 at 1 41 15 AM

engmsaleh avatar May 23 '20 23:05 engmsaleh

Hi @engmsaleh, This is because the certificate is not issued by Let's Encrypt but by the default issues. You have to configure Stack to uses Let's Encrypt. Using helm just upgrade the release using the following command or by setting those in your values.yaml file.

helm upgrade stack presslabs/stack --reuse-values --set letsencrypt.enabled=true --set [email protected]

AMecea avatar Jul 24 '20 19:07 AMecea

I also have a problem with the certificates. Unfortunately I only get a cert with cn=Kubernetes Ingress Controller Fake Certificate. Do I need to configure the ingress controller additionally?

waigel avatar Aug 30 '21 18:08 waigel