Certificate Manager concepts
Certificate Manager is a service to manage TLS certificates
Warning
- If you use a Let's Encrypt certificate, check domain rights after you add it.
- If you have a user certificate, be sure to renew it on time.
Certificate types
Certificate Manager supports two types of certificates:
- Let's Encrypt certificates (
Managed
certificates): Certificates issued through Let's Encrypt and managed by Certificate Manager. For more information about these certificates, see Let's Encrypt certificate. - User certificates (
Imported
certificates): Certificates added by the user. You are responsible for renewing these certificates on time. For more information about these certificates, see User certificate.
Certificate statuses
The lifecycle and statuses of certificates depend on their type.
- Let's Encrypt certificates (
Managed
certificates) can have the following statuses:Validating
: The certificate was requested from Let's Encrypt and is pending the domain rights check.Issued
: The certificate was obtained and can be used in services integrated with Certificate Manager.Invalid
: The certificate failed the check (the domain rights check took more than one week or failed).Renewing
: The certificate is being renewed.Renewal_failed
: The certificate failed to renew.
- User certificates (
Imported
certificates) always have theIssued
status: the certificate was obtained and can be used in services integrated with Certificate Manager.
Sending notifications to users
If the certificate is about to expire and the service failed to reissue it automatically, you're sent a notification asking you to pass the rights check for a domain or upload a new version of the certificate yourself.
Where notifications are sent
Notifications are sent to:
- The email address specified in the cloud settings.
- Additional email addresses that are subscribed to notifications.
When notifications are sent
Deadline for sending notifications:
- 21, 7, and 3 days before the certificate expires.
- After its expiration date.
Monitoring the status of certificates
You can set up metrics and alerts for monitoring certificates. Charts with metrics are available on service dashboards that are created automatically.
List of certificate metrics:
-
certificate.days_until_expiration
: Shows the real number of days until a certificate's expiration date.You can use this metric to create alerts about the upcoming expiration of the certificate.
-
certificate.is_out_of_order
: Shows whether you can use the certificate to provide a TLS connection.-
If not, the metric value is 1: the certificate status is
Invalid
orRevoked
, or its validity period expired. -
In all other cases, the metric value is zero, including when the certificate status is
Validating
.You can use this metric to create alerts that warn you about faulty certificates.
-
-
quota.certificates_count.usage
: Shows the current usage of the quota for the number of certificates per cloud. -
quota.certificates_count.limit
: Shows the current limit on the number of certificates per cloud.
You can use metrics to create alerts. For more information, see Adding an alert for a certificate.