API Management uses current certificates

March 21, 2025 ยท View on GitHub

SYNOPSIS

Renew certificates used for custom domain bindings.

DESCRIPTION

When custom domains are configured within an API Management service. A certificate must be assigned to allow traffic to be transmitted using TLS.

Each certificate has an expiry date, after which the certificate is not valid. After expiry, client connections to the API Management service will reject the certificate.

RECOMMENDATION

Consider renewing certificates before expiry to prevent service issues.

NOTES

By default, this rule fails when certificates have less than 30 days remaining before expiry.

Rule configuration

By default, this rule fails if the days before a configured certificate expires is less than 30 days. To configure this rule, override the AZURE_APIM_MINIMUM_CERTIFICATE_LIFETIME configuration value with the minimum number of days until expiry.