How to add ssl certicate in kubernetes

5/7/2021

I just created a new kubernetes with one node poll in Digitalocean. I've installed nginx service in that pool. Now I can access that node pool using http://ip-address:port number. Now I need to add ssl certificate for this ip address. Is that possible? How can I add certificate for this ip address

-- Syam sg
digital-ocean
kubernetes
lets-encrypt
ssl

1 Answer

5/8/2021

The standard tool for LetsEncrypt on Kubernetes is cert-manager, https://cert-manager.io/docs/. You can also purchase a cert (or make a self-signed one, but that probably doesn't help) and configure it manually a la https://kubernetes.io/docs/concepts/configuration/secret/#tls-secrets.

-- coderanger
Source: StackOverflow