nayaread
HomeFavouritesTopicsSources
HomeFavouritesTopicsSources
NayaRead links to original engineering blogs. All copyright belongs to the respective authors.
Shopify Engineering·Jan 12, 2022·9 min read49

That Old Certificate Expired and Started an Outage. This is What Happened Next - Shopify

In distributed systems, there’s plenty of occasions for things to go wrong.  This is why resiliency and redundancy are important. But no matter the systems you put in place, no matter whether you did or didn’t touch your deployments, issues might arise. It makes it critical to acknowledge the near misses: the situations where something could have gone wrong and the situations where something did, but it could have been worse. When was the last time it happened to you? For us, at Shopify, it was on September 30th, 2021, when the expiration of Let’s Encrypt’s (old) root certificate almost led to a global outage of our platform. In April 2021, Let’s Encrypt announced that the former root certificate was expiring. As we use Let’s Encrypt as our public certificate provider since we became a sponsor in 2016, we made sure that Shopify’s edge infrastructure was up to date with the different requirements, so we wouldn’t stop serving traffic to all of (y)our beloved shops. As always, Let’s Encrypt did their due diligence with communications and by providing a cross-signing of their new root certificate by the old one. What this means is that while clients didn’t trust the new root certificate yet, because that new root certificate was signed by the old one, they trusted the old one and would transfer their trust to the new one. Also, the period of time between the announcement and the expiration was sufficient for any Let’s Encrypt-emitted certificates, which expire after three months, to be signed by the new cross-signed root certificate and considered valid using any of the old or new root certificates. We didn’t expect anything bad to happen on September 30th, 2021, when the root certificate was set to expire at 10:00 a.m. Eastern Standard Time. At 10:15 am that same day, our monitors started complaining about certificate errors, but not at Shopify’s edge—that is, between the public and Shopify—but between

Read original on shopify.engineering

Discussion around the web

  • Hacker News9 · 0 💬

Score breakdown

  • Technical depth82
  • Practical value30
  • Originality85
  • Writing quality100
  • Source reputation0
  • Recency0
  • External engagement12
  • On-site engagement0

NayaRead shows a summary and links to the original article. The full article is hosted on shopify.engineering.

More like this

The Cloudflare Blog

The keys to the Internet change on October 11. Are you ready?

Sebastiaan Neuteboom·7 days ago·8 min read
Slack Engineering

The Case of the Recursive Resolvers

Nov 29, 2021·17 min read
The Cloudflare Blog

Keeping the Internet fast and secure- introducing Merkle Tree Certificates

Oct 28, 2025·23 min read
Shopify Engineering

A Brief History of TLS Certificates at Shopify - Shopify

May 14, 2020·8 min read