-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renewing of SRE SSL cert #2361
Comments
I tried just deleting the "SSLCertificate" resource from the stack. That led to a Snapshot Integrity Error in the Pulumi CLI. Possibly because other resources in the stack make reference to the cert. |
Yes I had that aswell. For now I’ve used certbot to renew it with letsencrypt. Maybe that’s an option?
Thanks
Matt
|
The restrictions are,
Options for a permanent solution,
|
We prefer to use the Application Gateway as:
Using Lego (or similar) to automatically update the certificate is still a good idea though. This could run as a container instance or (preferably) an Azure Function. Note that you'd also need a managed identity with appropriate privileges to change DNS records in order to meet the DNS-01 challenge requirements. |
Lego looks like a good route. On an existing SRE I can use az CLI credentials and the DNS challenge to create/renew certs. To automate this without the CLI we can create and use a managed identity. Would be possible to put this process in a container, or maybe serverless compute. |
+1 for serverless (e.g. function app) as this should be cheaper for something that needs to run rarely and for a short time on each invocation. |
Agreed. Should only need to run once a day or week and each run will only be a few minutes. |
✅ Checklist
💻 System information
📦 Packages
List of packages
🚫 Describe the problem
When the SRE SSL cert is near for renewal re-running the SRE deployment doesnt detect this so it doesnt create a new SRE SSL cert.
🌳 Log messages
Relevant log messages
♻️ To reproduce
The text was updated successfully, but these errors were encountered: