-
I have one subdomain configured for my host and mapping (for testing). Everything worked created there. I am using the automated process, so once changes were pushed, I switch the DNS to point to Ambassador. It was switched, but now the certificate is invalid. How do I force regenerate the certificate? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
As I understand, it looks like I need to create a wildcard certificate following these instructions. Also, looking back at the details of how to configure it, it looks like these instructions are built for domains managed in DO. Where can I find information of how to correctly configure wildcard cert with automation? |
Beta Was this translation helpful? Give feedback.
-
Hi @ShurikAg I hope you don't mind, but this looks more like a Q&A session to me, so it makes sense to convert it to a discussion.
Getting back to your question about regenerating certificates - if your subdomains change often (or dynamic), then a A certificate is tightly coupled to a hostname, so if the hostname changes then obviously you need to regenerate the certificate. A wildcard certificate is more flexible, but it is also too permissive because the private key is shared across multiple systems. The latter can imply security risks. We do not cover a Just to summarize, the steps are as follows:
After creating the above Kubernetes resources, the What's different when compared to the original tutorial created for DigitalOcean? It's only the Issuer CRD setup (Cloudflare specific), rest goes the same and everything should be plug and play. How about Hope it helps. |
Beta Was this translation helpful? Give feedback.
Hi @ShurikAg
I hope you don't mind, but this looks more like a Q&A session to me, so it makes sense to convert it to a discussion.
Starter Kit
is focused aroundDigitalOcean
in general, for obvious reasons. On the other hand, it's a starting point or something to build upon, hence it doesn't cover every aspect or every detail of a production system.Getting back to your question about regenerating certificates - if your subdomains change often (or dynamic), then a
wildcard
certificate is more appropriate (as you already discovered). On the other hand, if your subdomains are static or fixed, then you need to regenerate the certificate, obviously.A certificate is tightly coupled to a hostn…