When you create a webhook notification for SSL for SaaS Custom Hostnames, you may want to automate responses to specific events (certificate issuance, failed validation, etc.).
The following section details the data Cloudflare sends to a webhook destination.
Certificate validation
Before a Certificate Authority will issue a certificate for a domain, the requester must prove they have control over that domain. This process is known as domain control validation (DCV).
Validation succeeded
Cloudflare sends this alert when certificates move from a status of pending_validation to pending_issuance.
Validation failed
Cloudflare sends this alert each time a certificate remains in a pending_validation status during DCV retries.
Certificate issuance
Once validated, certificates are issued by Cloudflare in conjunction with your chosen certificate authority.
Issuance succeeded
Cloudflare sends this alert when certificates move from a status of pending_validation or pending_issuance to pending_deployment.
Issuance failed
Cloudflare sends this alert each time a certificate remains in a status of pending_issuance during DCV retries.
Certificate deployment
Once issued, certificates are deployed to Cloudflare’s global edge network.
Deployment succeeded
Cloudflare sends this alert when certificates move from a status of pending_deployment to active.
Deployment failed
Cloudflare sends this alert each time a certificate remains in a status of pending_deployment during DCV retries.
Certificate deletion
Deletion succeeded
Cloudflare sends this alert when certificates move from a status of pending_deletion to deleted.
Deletion failed
Cloudflare sends this alert each time a certificate remains in status of pending_deletion during DCV retries.
Certificate renewal
Once issued, certificates are valid for a period of time depending on the certificate authority.
The actions that you need to perform to renew certificates depend on your validation method.
Upcoming renewal
Renewal succeeded
Cloudflare sends this alert when certificates move from a status of active to pending_deployment.
Renewal failed
Cloudflare sends this alert when certificates move from a status of active to pending_issuance.
Troubleshooting
Occasionally, you may see webhook notifications that do not include a corresponding <<CUSTOM_HOSTNAME_ID>> and hostname values.
This behavior is because each custom hostname can only have one certificate attached to it. Previously attached certificates can still emit webhook events but will not include the associated hostname and ID values.
Alerts
You can configure alerts to receive notifications for changes in your custom hostname certificates.
SSL for SaaS Custom Hostnames Alert
Who is it for?
Customers with custom hostname certificates who want to receive a notification on validation, issuance, renewal, and expiration of certificates. For more details around data formatting for webhooks, refer to the Cloudflare for SaaS docs.
You only need to take action if you are notified that you have a certificate that failed. You can find the reasons why a certificate is not being issued in Troubleshooting SSL errors.