Hi there. I’m using `rke2-ingress-nginx` with a ce...
# rke2
f
Hi there. I’m using
rke2-ingress-nginx
with a certificate that currently has
ingress.local
as a SAN. How can I add additional domains (e.g.,
<http://example.com|example.com>
) as SANs to the certificate? Are there specific configuration? Thanks in advance for your help!
c
that is just the default self-signed cert that nginx generates for itself. You are not meant to use it. You are meant to provide your own cert as part of the ingress config, or use something like cert-manager to provision certs.
f
Thanks for the clarification! I understand that the default self-signed cert is not meant for production use, but for my current testing/internal setup, I’d like to continue using it. Could you guide me on how to modify the default cert to include additional SANs (e.g.,
<http://example.com|example.com>
)? I’d appreciate any steps or pointers!
c
Check the docs at https://github.com/kubernetes/ingress-nginx I would probably recommend just generating your own self-signed cert and using that as the cert for your ingress.
❤️ 1
f
Thanks for the help!