Open einari opened 1 year ago
The process should be:
We would need to take the token generated during the ACME process and put it on the file share for the Ingress. The ingress middleware would serve the token at http://<YOUR_DOMAIN>/.well-known/acme-challenge/<TOKEN>
.
Once we get the certificate we would replace the self signed certificate in the certificate store.
.well-known
path to the ExcludedPathsnginx.conf
for ingress to redirect .well-known
path to the ingress middlewareFor renewals we need a reminder that reminds us ahead of the expiry of the certificate and we perform the last 2 steps of the list above.
Look into the API for how a renewal is done
When setting up an ingress and associating a domain with we should automatically at that point use Lets Encrypt and ACME to generate a new certificate.
In addition to this we should have a job that runs on a regular cadence to renew certificates that will soon expire.
For verification of the the origin and domain association, we should expose a route that is unprotected that we could expose from our Ingress middleware.