Comments (3)
Following up ... after a lot of back-and-forth with Microsoft support, I think that we've identified the cause of the problem I had. I'm posting it here for posterity.
The issue was that the way that I was using the UI to select the KeyVault certificate, the App Gateway was specifically selecting the current active version of the SSL certificate, not the ongoing series of certificates. In particular, the "KeyVault secret id" that was getting stored was something of the form:
https://{vaultname}.vault.azure.net/secrets/{certname}/{version-hexdigest}
To get the cert to auto-renew, the version hexdigest needs to be removed, for a secret ID of:
https://{vaultname}.vault.azure.net/secrets/{certname}/
As of now (July 2020), it doesn't seem possible to configure this in the Azure Portal UI, but I think it can be done using the az
CLI program using a preview-status command-line argument:
az network application-gateway ssl-cert update \
-g $resource_group_name \
--gateway-name $gateway_name \
-n $gw_cert_name \
--key-vault-secret-id https://${vault_name}.vault.azure.net/secrets/${vault_cert_name}/
It'll be another month since my cert auto-renews and I can confirm that this solution works, but I'm pretty confident this will have solved my problem.
from keyvault-acmebot.
No. According to the Application Gateway documentation, when a Key Vault certificate is renewed, it will automatically renew within 24 hours.
The instances also poll Key Vault at 24-hour intervals to retrieve a renewed version of the certificate, if it exists. If an updated certificate is found, the SSL certificate currently associated with the HTTPS listener is automatically rotated.
https://docs.microsoft.com/en-us/azure/application-gateway/key-vault-certs
If your Key Vault certificate has been renewed, but App Gateway certificate has not been automatically renewed, you may want to contact Azure support.
from keyvault-acmebot.
Thanks for the prompt response. I'll close this issue since my problem doesn't look like something that keyvault-acmebot
is responsible for.
from keyvault-acmebot.
Related Issues (20)
- Support for HTTP challenge type using Azure Storage Account HOT 1
- Failed automatic certificate renew HOT 1
- Group certificates by domain HOT 1
- Add support of several accouts for GoDaddy provider HOT 3
- Date annotation is american, not local HOT 2
- Unable to connect to a 3rd party provider that supports ACME HOT 36
- Unable to host in Linux HOT 1
- Support for new hosting options HOT 3
- Migrate to .NET 8 Isolated Worker Process HOT 2
- Consumption (Linux)
- keyUsage nonRepudiation HOT 1
- GetAllCertificates failed 'startIndex' out of range. HOT 1
- RBAC for DNS Zones
- certificate validity HOT 2
- terraform validate produces Errors: Unsupported block HOT 3
- feat: possibility of having multiple keyvault?
- Set Function App Identity Provider as Entra ID in Terraform code HOT 1
- Receives error message from BuyPass Acme API: Required header 'Accept' is not present. HOT 3
- Utilize Managed Identity and remove any access keys from environment variables. HOT 1
- Missing user-agent header in Acme Requests? (BuyPass Acme API) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keyvault-acmebot.