<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/certificate-renewal-is-a-deployment-workflow-not-a-cron-job-vsd9y5x46" -->

---
title: Certificate Renewal Is a Deployment Workflow, Not a Cron Job
description: Certificate renewal is framed as a full deployment workflow rather than a simple cron-scheduled ACME task. Issuing a certificate does not guarantee the live...
canonical: https://daily.dev/posts/certificate-renewal-is-a-deployment-workflow-not-a-cron-job-vsd9y5x46
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Certificate Renewal Is a Deployment Workflow, Not a Cron Job | daily.dev
og:description: Certificate renewal is framed as a full deployment workflow rather than a simple cron-scheduled ACME task. Issuing a certificate does not guarantee the live...
og:url: https://daily.dev/posts/certificate-renewal-is-a-deployment-workflow-not-a-cron-job-vsd9y5x46
og:image: https://api.daily.dev/og/posts/VSD9y5x46.png
og:image:alt: Certificate Renewal Is a Deployment Workflow, Not a Cron Job
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Certificate Renewal Is a Deployment Workflow, Not a Cron Job

**[DevOps.com](https://daily.dev/sources/devops)** · 5 min read · 2 upvotes · 1 comments

## Summary

Certificate renewal is framed as a full deployment workflow rather than a simple cron-scheduled ACME task. Issuing a certificate does not guarantee the live service is presenting it, since deployment, reload, and verification steps can silently fail due to configuration drift, unreloaded services, or path mismatches. Reliable automation should end with runtime verification of the actual served certificate, include operational controls like approval gates and rollback, and carefully consider where private keys are handled. Kubernetes and tools like cert-manager help but don't eliminate the need for verification, since workloads may not reload updated secrets automatically. The piece ties these lessons to work on a certificate lifecycle automation tool called TokenTimer.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devops.com/certificate-renewal-is-a-deployment-workflow-not-a-cron-job>

## Questions this post answers

### Why does a certificate renewal job succeed but the website still serve the old expired certificate?

The renewal job only proves that a certificate authority issued a new certificate, not that the running service is presenting it. The new file may not reach the correct host, container, secret, or load balancer, or the service (NGINX, Apache, HAProxy, IIS, etc.) may still hold the old certificate in memory until reloaded or restarted, especially when configuration drift causes deployment scripts to write to a path the service no longer reads from.

_Teams debugging stale TLS certs in production can find related operational deep dives on daily.dev._

### What should a certificate automation workflow verify after deploying a renewed certificate?

It should check the live endpoint itself rather than trusting a successful exit code, comparing the observed certificate's fingerprint, serial number, issuer, or expiration date against the certificate that was just deployed. If the served certificate does not match what was deployed, the workflow should be marked as failed even though every prior command reported success.

_daily.dev surfaces workflow and verification practices for engineers hardening deployment pipelines._

### Does using Kubernetes and cert-manager eliminate the need to verify certificate deployment?

No, cert-manager and similar controllers automate issuance and secret updates but do not guarantee the workload actually reloads the updated certificate material or that external endpoints serve it correctly. Teams still need to confirm what consumes the secret, whether reloads happen automatically, and how failures are surfaced, since the same reach-the-live-service question applies inside and outside Kubernetes.

_Engineers weighing cert-manager against manual certificate handling can track this kind of infrastructure guidance on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@vergissberlin** · 0 upvotes

> The gap between cert-manager rotating the Secret and the workload actually picking it up is what bites people most in practice - a Deployment mounting the cert as a volume gets it eventually via kubelet's sync, but anything caching the cert in memory (a lot of TLS libraries, some ingress controllers) needs an explicit reload trigger or it just keeps serving the old one until restart. Verifying the actually-served certificate with a real TLS handshake instead of just checking the Secret's expiry date should honestly be the default health check here, not an afterthought.

## Similar posts on daily.dev

- [How we built certificate renewal without sending private keys to the control plane](https://daily.dev/posts/how-we-built-certificate-renewal-without-sending-private-keys-to-the-control-plane-5mxvrogtk) · All Things Open · 0 upvotes · 0 comments
- [Why Certificate Management Has to Change Webinar](https://daily.dev/posts/why-certificate-management-has-to-change-webinar-thgseamel) · Tech Lead Digest · 0 upvotes · 0 comments
- [Introducing CertKit: SSL Certificate Automation for the Rest of Us](https://daily.dev/posts/introducing-certkit-ssl-certificate-automation-for-the-rest-of-us-htoz7unfn) · TrackJS Blog · 30 upvotes · 0 comments
- [How to automate SSL Certificates and HTTPS Renewals](https://daily.dev/posts/how-to-automate-ssl-certificates-and-https-renewals-nxzlih7w1) · DigitalOcean Community · 0 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#kubernetes](https://daily.dev/tags/kubernetes), [#pki](https://daily.dev/tags/pki), [#security](https://daily.dev/tags/security)

[View this post on daily.dev](https://daily.dev/posts/certificate-renewal-is-a-deployment-workflow-not-a-cron-job-vsd9y5x46)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Certificate Renewal Is a Deployment Workflow, Not a Cron Job","url":"https://daily.dev/posts/certificate-renewal-is-a-deployment-workflow-not-a-cron-job-vsd9y5x46","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/certificate-renewal-is-a-deployment-workflow-not-a-cron-job-vsd9y5x46"},"datePublished":"2026-08-28T18:02:47.538Z","dateModified":"2026-10-29T02:14:12.060Z","description":"Certificate renewal is framed as a full deployment workflow rather than a simple cron-scheduled ACME task. Issuing a certificate does not guarantee the live...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/72b4ba2425d5960ac8b906716fdbd198?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/72b4ba2425d5960ac8b906716fdbd198?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"DevOps.com","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DevOps.com","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/db8f2265cff0416c878c6e7e92bb8715","url":"https://daily.dev/sources/devops"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/certificate-renewal-is-a-deployment-workflow-not-a-cron-job-vsd9y5x46","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"devops,kubernetes,pki,security","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DevOps.com","item":"https://daily.dev/sources/devops"},{"@type":"ListItem","position":3,"name":"Certificate Renewal Is a Deployment Workflow, Not a Cron Job"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/certificate-renewal-is-a-deployment-workflow-not-a-cron-job-vsd9y5x46","comment":[{"@type":"Comment","text":"The gap between cert-manager rotating the Secret and the workload actually picking it up is what bites people most in practice - a Deployment mounting the cert as a volume gets it eventually via kubelet’s sync, but anything caching the cert in memory (a lot of TLS libraries, some ingress controllers) needs an explicit reload trigger or it just keeps serving the old one until restart. Verifying the actually-served certificate with a real TLS handshake instead of just checking the Secret’s expiry date should honestly be the default health check here, not an afterthought.","datePublished":"2026-09-01T21:44:59.932Z","url":"https://daily.dev/posts/VSD9y5x46#c-XrgeT1cyy","author":{"@type":"Person","name":"André Lademann","url":"https://daily.dev/vergissberlin","image":"https://avatars.githubusercontent.com/u/179964?v=4"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/certificate-renewal-is-a-deployment-workflow-not-a-cron-job-vsd9y5x46#faq","mainEntity":[{"@type":"Question","name":"Why does a certificate renewal job succeed but the website still serve the old expired certificate?","acceptedAnswer":{"@type":"Answer","text":"The renewal job only proves that a certificate authority issued a new certificate, not that the running service is presenting it. The new file may not reach the correct host, container, secret, or load balancer, or the service (NGINX, Apache, HAProxy, IIS, etc.) may still hold the old certificate in memory until reloaded or restarted, especially when configuration drift causes deployment scripts to write to a path the service no longer reads from. Teams debugging stale TLS certs in production can find related operational deep dives on daily.dev."}},{"@type":"Question","name":"What should a certificate automation workflow verify after deploying a renewed certificate?","acceptedAnswer":{"@type":"Answer","text":"It should check the live endpoint itself rather than trusting a successful exit code, comparing the observed certificate's fingerprint, serial number, issuer, or expiration date against the certificate that was just deployed. If the served certificate does not match what was deployed, the workflow should be marked as failed even though every prior command reported success. daily.dev surfaces workflow and verification practices for engineers hardening deployment pipelines."}},{"@type":"Question","name":"Does using Kubernetes and cert-manager eliminate the need to verify certificate deployment?","acceptedAnswer":{"@type":"Answer","text":"No, cert-manager and similar controllers automate issuance and secret updates but do not guarantee the workload actually reloads the updated certificate material or that external endpoints serve it correctly. Teams still need to confirm what consumes the secret, whether reloads happen automatically, and how failures are surfaced, since the same reach-the-live-service question applies inside and outside Kubernetes. Engineers weighing cert-manager against manual certificate handling can track this kind of infrastructure guidance on daily.dev."}}]}
```

