HTTPS
Follow this quick start guide and install certmanager via helm and tiller: This resource was also helpful
Create Letsencrypt Issuers and Ingress Services
Copy the configuration templates and change the file according to your needs.
At least, change email addresses in issuer.yaml
. For sure you also want to change the domain name in ingress.yaml
.
Once you are done, apply the configuration:
By now, your cluster should have a load balancer assigned with an external IP address. On Digital Ocean, this is how it should look like:
Check the ingress server is working correctly:
If the response looks good, configure your domain registrar for the new IP address and the domain.
Now let's get a valid HTTPS certificate. According to the tutorial above, check your tls certificate for staging:
If everything looks good, update the issuer of your ingress. Change the annotation certmanager.k8s.io/issuer
from letsencrypt-staging
to letsencrypt-prod
in your ingress configuration in ingress.yaml
.
Delete the former secret to force a refresh:
Now, HTTPS should be configured on your domain. Congrats.
Last updated